From e1c3e640feb6dd75ef36593b5d5bbb201f966426 Mon Sep 17 00:00:00 2001 From: lulz1 Date: Thu, 4 Jul 2024 16:23:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=9B=A0=E5=9C=B0?= =?UTF-8?q?=E7=90=86=E4=BF=A1=E6=81=AF=E7=A1=AE=E5=AE=9E=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=AE=A1=E6=89=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/chint/domain/service/RouteApprovalDomainService.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)