From 5dfa88e6791208e3cbdc9b6c90f2fd8e3ec73e4e Mon Sep 17 00:00:00 2001 From: lulz1 Date: Tue, 25 Jun 2024 09:54:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A0=E6=B3=95=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E8=A1=8C=E7=A8=8B=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/chint/domain/service/LegDomainService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/chint/domain/service/LegDomainService.java b/src/main/java/com/chint/domain/service/LegDomainService.java index defd235f..c8071dca 100644 --- a/src/main/java/com/chint/domain/service/LegDomainService.java +++ b/src/main/java/com/chint/domain/service/LegDomainService.java @@ -113,7 +113,8 @@ public class LegDomainService { RouteOrder routeOrder = null; if (legNo.contains("&")) { String[] split = legNo.split("&"); - routeOrder = routeRepository.findTempRouteOrderBySysCodeAndBillCode(split[1], split[2]); + routeOrder = routeRepository.findTempRouteOrderBySysCodeAndBillCode(split[1], split[2]) + .reloadStatus(); } if (routeOrder != null && routeOrder.getOrderStatus().equals(ORDER_STATUS_PREPARE)){ routeOrder.deleteLeg(legNo);