From b6bf5c99a551f042616c184313a9abb9cab1008a Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期一, 10 二月 2025 15:04:18 +0800 Subject: [PATCH] 导入聚乳酸明细时 牌号为161,171,181并且物资类别为改性树脂时指定主体为海正生物,生产车间为一车间 --- src/main/java/com/zy/asrs/task/OrderSendScheduler.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/OrderSendScheduler.java b/src/main/java/com/zy/asrs/task/OrderSendScheduler.java index 673f885..a3e95b6 100644 --- a/src/main/java/com/zy/asrs/task/OrderSendScheduler.java +++ b/src/main/java/com/zy/asrs/task/OrderSendScheduler.java @@ -21,11 +21,12 @@ - @Scheduled(cron = "0/3 * * * * ? ") + @Scheduled(cron = "0/10 * * * * ? ") private void looping(){ List<Order> orders = orderService.selectList(new EntityWrapper<Order>() .eq("settle", "4") - .le("item_id", 3)); + .eq("item_id",1L) + .orderBy("update_time",false)); for (Order order : orders) { orderSendHandler.start(order); } -- Gitblit v1.9.1