Install order 장은 I.N 대신 생성자를 따라 간다.

This commit is contained in:
Hyojin Ahn 2026-06-15 11:33:01 -04:00
parent 484664c8a4
commit c64d9b62ea
1 changed files with 7 additions and 1 deletions

View File

@ -340,7 +340,13 @@ public class CustomerDailyOrderService {
}
// 2. MIS -> externalId (문자열 email or id)
if (dto.getCdoExternalDriverId() != null) {
Map<String, Object> body = hcmEmployeeClient.getEmpFromExternalId( "MIS_DRIVER", dto.getCdoExternalDriverId() );
Map<String, Object> body = null;
if (dto.getCdoJobType() == "INSTALL") {
body = hcmEmployeeClient.getEmpFromExternalId( "MIS_MEMBER", dto.getCdoExternalCreatedBy() );
} else {
body = hcmEmployeeClient.getEmpFromExternalId( "MIS_DRIVER", dto.getCdoExternalDriverId() );
}
if (body != null && body.get("eexEmpId") != null) {
Object raw = body.get("eexEmpId");