From 856be870ad89178508d70d6f9b41dfc588ce5c6c Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 27 二月 2025 19:54:23 +0800
Subject: [PATCH] #修复拣料回库小概率出现源库位库存明细不存在异常

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

diff --git a/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java b/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java
index deb20bf..6961994 100644
--- a/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java
+++ b/src/main/java/com/zy/asrs/task/ErrorStockScheduler.java
@@ -28,6 +28,14 @@
         }
     }
 
+  @Scheduled(cron = "0/60 * * * * ? ")
+    private void executeAgv(){
+        ReturnT<String> returnT = errorStockHandler.startAgv();
+        if (!returnT.isSuccess()) {
+            log.error(returnT.getMsg());
+        }
+    }
+
 //    @Autowired
 //    private BasErrLogService basErrLogService;
 //    @Autowired

--
Gitblit v1.9.1