From 8ce7ce2407a14d54b29a4b10a8715a8610711050 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期三, 19 三月 2025 17:34:45 +0800 Subject: [PATCH] 已经走出储位的工作档不算 --- src/main/java/com/zy/asrs/task/OverYearLogScheduler.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java b/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java index 39652b4..b67b758 100644 --- a/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java +++ b/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java @@ -26,5 +26,11 @@ log.error(returnT.getMsg()); } } - + @Scheduled(cron = "* * 1 * * ? ") + private void executeOrderLog() { + ReturnT<String> returnT = overYearLogHandler.start2(); + if (!returnT.isSuccess()) { + log.error(returnT.getMsg()); + } + } } -- Gitblit v1.9.1