From a7ec33be10c9c70d1dd9efbce7248b008f899ed5 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期二, 25 二月 2025 09:00:11 +0800
Subject: [PATCH] 1

---
 src/main/java/com/zy/asrs/task/OverYearLogScheduler.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java b/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java
index 95a8a29..b67b758 100644
--- a/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java
+++ b/src/main/java/com/zy/asrs/task/OverYearLogScheduler.java
@@ -19,12 +19,18 @@
     @Autowired
     private OverYearLogHandler overYearLogHandler;
 
-    @Scheduled(cron = "0/3 * * * * ? ")
+    @Scheduled(cron = "0/1 * * * * ? ")
     private void execute(){
         ReturnT<String> returnT = overYearLogHandler.start();
         if (!returnT.isSuccess()) {
             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