From 9ed4cb53a2c643b879f993537f5a2793fba56ba1 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期一, 31 三月 2025 07:57:13 +0800
Subject: [PATCH] 1

---
 src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java b/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java
index 885fb64..2635653 100644
--- a/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java
@@ -41,7 +41,19 @@
             "\tdev_no \n" +
             "FROM\n" +
             "\tagv_bas_devp\n" +
+            "\tLEFT JOIN agv_wrk_mast ON agv_bas_devp.dev_no = agv_wrk_mast.loc_no \n" +
+            "WHERE\n" +
+            "\tagv_wrk_mast.loc_no IS NULL \n" +
+            //"\tAND agv_bas_devp.loc_type1 = #{locType} \n" +
+            "\tAND agv_bas_devp.out_enable = 'Y'")
+    List<String> selectCacheShelvesStationCodeByLocTypeV2(@Param("locType") Short locType);
+
+    @Select("SELECT\n" +
+            "\tdev_no \n" +
+            "FROM\n" +
+            "\tagv_bas_devp\n" +
             "\tLEFT JOIN agv_wrk_mast ON agv_bas_devp.dev_no = agv_wrk_mast.source_loc_no \n" +
+            "or agv_bas_devp.dev_no = agv_wrk_mast.loc_no \n" +
             "WHERE\n" +
             "\tagv_wrk_mast.loc_no IS NULL \n" +
             "\tAND agv_bas_devp.loc_type1 = #{locType} \n" +

--
Gitblit v1.9.1