From b3fcc1eda7f6305e9ae128b6ca51cf6d9f3f90c1 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期四, 25 十二月 2025 09:58:49 +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