From 1c61a4e5ac10011c6cea9b3ee130f3df2ce5c8bb Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期四, 19 五月 2022 16:40:55 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/task/OrderSyncScheduler.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java b/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java index 58bd818..1a86031 100644 --- a/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java +++ b/src/main/java/com/zy/asrs/task/OrderSyncScheduler.java @@ -36,7 +36,7 @@ @Scheduled(cron = "0/5 * * * * ? ") private void completeAndReport(){ - List<Order> orders = orderService.selectList(new EntityWrapper<Order>().eq("settle", 4L)); + List<Order> orders = orderService.selectList(new EntityWrapper<Order>().eq("settle", 4L).eq("status", 1)); for (Order order : orders) { ReturnT<String> result = orderSyncHandler.start(order); if (!result.isSuccess()) { -- Gitblit v1.9.1