From c3a72cea5680c579c87463f9dab6f79fbe3d7a87 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期二, 31 十二月 2024 08:59:20 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/kingdee/ReviewOrderSyncScheduler.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/kingdee/ReviewOrderSyncScheduler.java b/src/main/java/com/zy/asrs/task/kingdee/ReviewOrderSyncScheduler.java index 9e16279..f74c57b 100644 --- a/src/main/java/com/zy/asrs/task/kingdee/ReviewOrderSyncScheduler.java +++ b/src/main/java/com/zy/asrs/task/kingdee/ReviewOrderSyncScheduler.java @@ -29,13 +29,13 @@ @Value("${erp.switch.ReviewOrderSwitch}") private boolean ReviewOrderSwitch; -// @Scheduled(cron = "0/3 * * * * ? ") + @Scheduled(cron = "0/3 * * * * ? ") @Async("orderThreadPool") public void completeAndReport(){ if(!ReviewOrderSwitch){ return; } - List<Order> orders = orderService.selectComplete(); + List<Order> orders = orderService.selectCompletemEmo3(); for (Order order : orders) { try{ ReturnT<String> result = reviewOrderSyncHandler.start(order); -- Gitblit v1.9.1