From 4103bb9c1279fa84dffa3d5aa99298da426b00fe Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期四, 12 十二月 2024 09:17:01 +0800 Subject: [PATCH] #回库任务不生成历史工作明细,同时保留订单编号 --- src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java | 5 ++--- 1 files changed, 2 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..2f1081a 100644 --- a/src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java +++ b/src/main/java/com/zy/asrs/task/OrderMoveHistoryScheduler.java @@ -9,14 +9,13 @@ @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(); } } -- Gitblit v1.9.1