fix: 无法删除行程的bug

This commit is contained in:
lulz1 2024-06-25 12:11:49 +08:00
parent 3d0d3299bf
commit 9e46792092
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public class LegDomainService {
.reloadStatus();
routeOrder.deleteLeg(split[0]);
}
if (routeOrder != null && routeOrder.getOrderStatus().equals(ORDER_STATUS_PREPARE)){
if (routeOrder != null){
routeRepository.saveTempRouteOrder(routeOrder, 24L);
}
}