From 44d51d79370da8973fcd52203c669da9d0a1e479 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期二, 31 十二月 2024 10:00:37 +0800 Subject: [PATCH] 并板入库,并板途中拣料,拣料途中并板,以及相关查询接口 --- src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java b/src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java index 0a8203e..c2a7f49 100644 --- a/src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java +++ b/src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java @@ -9,14 +9,21 @@ @Component public class OrderMoveHistoryScheduler { @Autowired - private OrderMoveHistoryHandler handler; - + private OrderMoveHistoryHandler orderMoveHistoryHandler; /** * 灏嗗凡瀹屾垚order鍜宱rderDetl绉诲姩鍒發og琛� */ @Scheduled(cron = "0/30 * * * * ?") public void execute(){ - handler.move(); + orderMoveHistoryHandler.start(); + } + + /** + * 灏嗗凡涓婃姤order鍜宱rderDetl绉诲姩鍒發og琛� + */ + @Scheduled(cron = "0/30 * * * * ?") + public void executeOrder(){ + orderMoveHistoryHandler.startOrder(); } } -- Gitblit v1.9.1