Order 장 driver id 추출 로직 버그 수정
This commit is contained in:
parent
42d020c3cd
commit
484664c8a4
|
|
@ -340,7 +340,7 @@ public class CustomerDailyOrderService {
|
||||||
}
|
}
|
||||||
// 2. MIS -> externalId (문자열 email or id)
|
// 2. MIS -> externalId (문자열 email or id)
|
||||||
if (dto.getCdoExternalDriverId() != null) {
|
if (dto.getCdoExternalDriverId() != null) {
|
||||||
Map<String, Object> body = hcmEmployeeClient.getEmpFromExternalId( "MIS_DRIVER", dto.getCdoExternalCreatedBy() );
|
Map<String, Object> body = hcmEmployeeClient.getEmpFromExternalId( "MIS_DRIVER", dto.getCdoExternalDriverId() );
|
||||||
if (body != null && body.get("eexEmpId") != null) {
|
if (body != null && body.get("eexEmpId") != null) {
|
||||||
|
|
||||||
Object raw = body.get("eexEmpId");
|
Object raw = body.get("eexEmpId");
|
||||||
|
|
|
||||||
|
|
@ -360,7 +360,7 @@ public class CustomerService {
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException("Failed to compare field: " + fieldName, e);
|
throw new RuntimeException("Failed to compare field: " + fieldName + " - " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue