diff --git a/src/main/java/com/chint/domain/service/leg_event/LegEventHandler.java b/src/main/java/com/chint/domain/service/leg_event/LegEventHandler.java index da1483bb..bd72f340 100644 --- a/src/main/java/com/chint/domain/service/leg_event/LegEventHandler.java +++ b/src/main/java/com/chint/domain/service/leg_event/LegEventHandler.java @@ -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) {