From ebb22c0ee5c8c00b89515a50daf0e49103fa4f14 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期三, 18 十二月 2024 14:35:11 +0800 Subject: [PATCH] 上报逻辑调整 --- src/main/java/com/zy/asrs/task/WorkMastScheduler.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/task/WorkMastScheduler.java b/src/main/java/com/zy/asrs/task/WorkMastScheduler.java index b5ae4bb..b517d61 100644 --- a/src/main/java/com/zy/asrs/task/WorkMastScheduler.java +++ b/src/main/java/com/zy/asrs/task/WorkMastScheduler.java @@ -26,7 +26,8 @@ @Autowired private WorkMastHandler workMastHandler; - @Scheduled(cron = "0/1 * * * * ? ") + @Scheduled(fixedDelay = 60000) + //@Scheduled(cron = "0/1 * * * * ? ") private void execute(){ List<WrkMast> wrkMasts = wrkMastService.selectToBeCompleteData(); if (wrkMasts.isEmpty()) { -- Gitblit v1.9.1