备份route聚合自定义字段

This commit is contained in:
lulz1 2024-04-11 17:39:38 +08:00
parent 00c81d4023
commit 9f6971ca07
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ public class LegEventHandler implements LegEventService {
@Transactional
@Override
public void rejectLeg(LegRejectCommand command) {
ApprovalSimpleData data = command.getData();
ApproveRouteData data = command.getData();
RouteOrder routeOrder = routeRepository.findByActualOrderNoAndSysCode(data.getActualOrderNo(), data.getSysCode()).reloadStatus();
if (routeOrder.getOrderStatus() >= RouteConstant.ORDER_STATUS_NOT_ORDERED) {