From 6695f10802abaf7dab97513c66db46995799425f Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期五, 20 十二月 2024 15:26:20 +0800
Subject: [PATCH] #优化地图

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

diff --git a/src/main/java/com/zy/asrs/task/WorkLogScheduler.java b/src/main/java/com/zy/asrs/task/WorkLogScheduler.java
index 06a0624..c1fbf1e 100644
--- a/src/main/java/com/zy/asrs/task/WorkLogScheduler.java
+++ b/src/main/java/com/zy/asrs/task/WorkLogScheduler.java
@@ -23,7 +23,8 @@
     @Autowired
     private WrkMastService wrkMastService;
 
-    @Scheduled(cron = "0/3 * * * * ? ")
+    //@Scheduled(cron = "0/1 * * * * ? ")
+    @Scheduled(fixedDelay = 60000)
     private void execute(){
         List<WrkMast> wrkMasts = wrkMastService.selectToBeHistoryData();
         if (wrkMasts.isEmpty()) {

--
Gitblit v1.9.1