fix:修复通过临时规划单和系统编号查询结果一直是临时单号的问题
This commit is contained in:
parent
dd718f7447
commit
e4defad983
|
@ -546,7 +546,12 @@ public class OrderQuery {
|
|||
.filter(it -> it.getLegId() == null)
|
||||
.toList();
|
||||
if (!eventList.isEmpty()) {
|
||||
routeRepository.save(routeOrder);
|
||||
ApproveOrderNo approveOrderNo = routeOrder.getApproveOrderNo();
|
||||
if (approveOrderNo != null && approveOrderNo.getActualOrderNo() != null) {
|
||||
routeRepository.save(routeOrder);
|
||||
} else {
|
||||
routeRepository.saveTempRouteOrder(routeOrder, 15L);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue