From 29fc12b38133fd1361dd4d368b29719c2bfca161 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期五, 08 三月 2024 15:38:37 +0800
Subject: [PATCH] 修复入库产生重复工作档

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

diff --git a/src/main/java/com/zy/asrs/task/CheckLocDetlExistScheduler.java b/src/main/java/com/zy/asrs/task/CheckLocDetlExistScheduler.java
index bd762f0..8567ad2 100644
--- a/src/main/java/com/zy/asrs/task/CheckLocDetlExistScheduler.java
+++ b/src/main/java/com/zy/asrs/task/CheckLocDetlExistScheduler.java
@@ -27,7 +27,8 @@
     @Autowired
     private ConfigService configService;
 
-    @Scheduled(cron = "*/1 * * * * ? ")
+    //姣�30鍒嗛挓鎵弿涓�娆�
+    @Scheduled(cron = "0 30 * * * ? ")
     private void execute(){
         List<LocMast> locMasts = locMastService.selectLocDetlNotExist();
         if (locMasts.isEmpty()) {

--
Gitblit v1.9.1