fix: 无法删除行程的bug
This commit is contained in:
parent
89e91d9d39
commit
5dfa88e679
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue