diff --git a/src/main/java/com/chint/domain/service/RouteApprovalDomainService.java b/src/main/java/com/chint/domain/service/RouteApprovalDomainService.java index e0778551..5f5bc73c 100644 --- a/src/main/java/com/chint/domain/service/RouteApprovalDomainService.java +++ b/src/main/java/com/chint/domain/service/RouteApprovalDomainService.java @@ -62,9 +62,7 @@ public class RouteApprovalDomainService { public void approveRouteOfLegChangeAndAdd(LegApprovalParam param) { RouteOrder routeOrder = routeRepository.queryById(param.getRouteId()); List legItems = routeOrder.getLegItems(); - if (legItems != null && !legItems.isEmpty() && legItems.get(0).getOriginLocation() == null) { - legDomainService.queryLocation(legItems); - } + legDomainService.queryLocation(legItems); String approvalPlatformMark = getApprovalPlatformMark(routeOrder); ApprovalSubmit.of(LEG_ADD_CHANGE_BATCH, approvalPlatformMark) .approveData(routeOrder)