diff --git a/src/main/java/com/chint/application/services/OrderApplicationService.java b/src/main/java/com/chint/application/services/OrderApplicationService.java index 305f2139..2fcca046 100644 --- a/src/main/java/com/chint/application/services/OrderApplicationService.java +++ b/src/main/java/com/chint/application/services/OrderApplicationService.java @@ -101,7 +101,7 @@ public class OrderApplicationService { routeRepository.save(routeOrder); // 仅在所有操作完成后保存一次 } //如果行程变更成功,自动执行同步功能 - Command.of(RouteAutoSyncCommand.class).route(routeOrder).async().sendToQueue(); +// Command.of(RouteAutoSyncCommand.class).route(routeOrder).async().sendToQueue(); } @Transactional diff --git a/src/main/java/com/chint/domain/aggregates/user/UserDepartmentInfo.java b/src/main/java/com/chint/domain/aggregates/user/UserDepartmentInfo.java index 326be616..09bba0c0 100644 --- a/src/main/java/com/chint/domain/aggregates/user/UserDepartmentInfo.java +++ b/src/main/java/com/chint/domain/aggregates/user/UserDepartmentInfo.java @@ -20,7 +20,6 @@ public class UserDepartmentInfo implements Serializable { @Id private Long id; private Long userId; - private Integer userKey; private String companyCode; private String companyName; private String departmentCodeOne; diff --git a/src/main/java/com/chint/domain/service/LegDomainService.java b/src/main/java/com/chint/domain/service/LegDomainService.java index 0a1ba8d2..9cb903fd 100644 --- a/src/main/java/com/chint/domain/service/LegDomainService.java +++ b/src/main/java/com/chint/domain/service/LegDomainService.java @@ -199,6 +199,7 @@ public class LegDomainService { // 过滤Leg items List filteredLegItems = legItems.stream() .filter(it -> !it.getLegType().equals(LEG_TYPE_OTHER) && it.legIsInternal()) + .peek(Leg::reloadStatus) .filter(it -> it.getLegApprovalStatus().equals(LEG_APPROVAL_STATUS_NOT)) .toList();