From 63818e4689955ecd117cedba7c59d7147fcf88c8 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期五, 17 五月 2024 09:57:57 +0800
Subject: [PATCH] 检测当前站点入库任务是否已经走出储位204L

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

diff --git a/src/main/java/com/zy/asrs/task/AutoMoveScheduler.java b/src/main/java/com/zy/asrs/task/AutoMoveScheduler.java
index 0979cba..8e08e43 100644
--- a/src/main/java/com/zy/asrs/task/AutoMoveScheduler.java
+++ b/src/main/java/com/zy/asrs/task/AutoMoveScheduler.java
@@ -39,4 +39,21 @@
         }
 
     }
+
+    @Scheduled(cron = "0/2 * * * * ? ")
+    private void autoEmptyBack(){
+        // 鏌ヨ 涓嶄负1妤肩殑绌鸿揣鏋�
+        List<AgvLocMast> agvLocMasts = agvLocMastService.selectList(
+                new EntityWrapper<AgvLocMast>()
+                        .ne("floor", 1)
+                        .eq("loc_sts","D")
+                        .eq("loc_type1",3));
+        if (agvLocMasts.isEmpty()) {
+            return;
+        }
+        for (AgvLocMast agvLocMast : agvLocMasts) {
+            ReturnT<String> returnT = autoMoveHandler.autoEmptyBack(agvLocMast);
+        }
+
+    }
 }

--
Gitblit v1.9.1