备份route聚合自定义字段
This commit is contained in:
parent
00c81d4023
commit
9f6971ca07
|
@ -290,7 +290,7 @@ public class LegEventHandler implements LegEventService {
|
||||||
@Transactional
|
@Transactional
|
||||||
@Override
|
@Override
|
||||||
public void rejectLeg(LegRejectCommand command) {
|
public void rejectLeg(LegRejectCommand command) {
|
||||||
ApprovalSimpleData data = command.getData();
|
ApproveRouteData data = command.getData();
|
||||||
RouteOrder routeOrder = routeRepository.findByActualOrderNoAndSysCode(data.getActualOrderNo(), data.getSysCode()).reloadStatus();
|
RouteOrder routeOrder = routeRepository.findByActualOrderNoAndSysCode(data.getActualOrderNo(), data.getSysCode()).reloadStatus();
|
||||||
|
|
||||||
if (routeOrder.getOrderStatus() >= RouteConstant.ORDER_STATUS_NOT_ORDERED) {
|
if (routeOrder.getOrderStatus() >= RouteConstant.ORDER_STATUS_NOT_ORDERED) {
|
||||||
|
|
Loading…
Reference in New Issue