From e85f0e74d21e49b9c68474bc4d19f5eceacf1a46 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 20 十月 2025 08:40:04 +0800
Subject: [PATCH] 对接

---
 src/main/resources/mapper/asrs/LocMastMapper.xml |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/asrs/LocMastMapper.xml b/src/main/resources/mapper/asrs/LocMastMapper.xml
index cae15d0..da74878 100644
--- a/src/main/resources/mapper/asrs/LocMastMapper.xml
+++ b/src/main/resources/mapper/asrs/LocMastMapper.xml
@@ -127,7 +127,6 @@
         and crn_no=#{crnNo}
         and bay1 = #{bay}
         and lev1 = #{lev}
-        and gro1 = #{gro}
         AND loc_sts not in ('O') order by row1
     </select>
 
@@ -150,7 +149,6 @@
         and crn_no=#{crnNo}
         and bay1 = #{bay}
         and lev1 = #{lev}
-        and gro1 = #{gro}
         AND loc_sts not in ('O') order by row1 desc
     </select>
 <!--    <select id="selectLocByLocStsPakInO1" resultMap="BaseResultMap">-->
@@ -172,7 +170,6 @@
         and crn_no=#{crnNo}
         and bay1 = #{bay}
         and lev1 = #{lev}
-        and gro1 = #{gro}
         AND loc_sts in ('O') order by row1 desc
     </select>
 <!--    <select id="selectLocByLocStsPakInO2" resultMap="BaseResultMap">-->
@@ -194,7 +191,6 @@
         and crn_no=#{crnNo}
         and bay1 = #{bay}
         and lev1 = #{lev}
-        and gro1 = #{gro}
         AND loc_sts in ('O') order by row1
     </select>
     <select id="findFirstFrozenLocNo" resultType="java.lang.String">
@@ -204,4 +200,10 @@
         </foreach>
     </select>
 
+    <select id="selectRowByCrnNo" resultType="java.lang.Integer">
+        select DISTINCT row1 from asr_loc_mast
+        where crn_no = #{crnNo}
+        order by row1
+    </select>
+
 </mapper>

--
Gitblit v1.9.1