diff --git a/src/main/java/com/chint/application/services/OrderApplicationService.java b/src/main/java/com/chint/application/services/OrderApplicationService.java index 6aa65e17..89c7deab 100644 --- a/src/main/java/com/chint/application/services/OrderApplicationService.java +++ b/src/main/java/com/chint/application/services/OrderApplicationService.java @@ -228,11 +228,7 @@ public class OrderApplicationService { if (routeOrder != null) { routeOrder.reloadStatus(); routeOrder.deleteLeg(legNo); - if (!routeOrder.getApprovalStatusCode().equals(APPROVAL_EVENT_PREPARE)) { - return routeRepository.saveTempRouteOrder(routeOrder, 24L); - } else { - return routeRepository.save(routeOrder); - } + return routeRepository.saveTempRouteOrder(routeOrder, 24L); } return null; }