From 6bad812c69f2adbcc7ffc386e18db701f5c8fe93 Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期六, 21 十二月 2024 15:22:06 +0800 Subject: [PATCH] 找库位:深浅一起找 --- src/main/resources/mapper/LocMastMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml index a9c6062..4c06268 100644 --- a/src/main/resources/mapper/LocMastMapper.xml +++ b/src/main/resources/mapper/LocMastMapper.xml @@ -89,7 +89,7 @@ <foreach collection="locNos" item="locNo" index="index" open="(" close=")" separator=","> #{locNo} </foreach> - AND loc_sts not in ('O') order by row1 + AND loc_sts not in ('O') order by row1 , lev1 </select> <select id="selectLocByLocStsPakInF2" resultMap="BaseResultMap"> @@ -97,7 +97,7 @@ <foreach collection="locNos" item="locNo" index="index" open="(" close=")" separator=","> #{locNo} </foreach> - AND loc_sts not in ('O') order by row1 desc + AND loc_sts not in ('O') order by row1 desc ,lev1 </select> <select id="selectLocByLocStsPakInO1" resultMap="BaseResultMap"> @@ -105,7 +105,7 @@ <foreach collection="locNos" item="locNo" index="index" open="(" close=")" separator=","> #{locNo} </foreach> - AND loc_sts in ('O') order by row1 desc + AND loc_sts in ('O') order by row1 desc ,lev1 </select> <select id="selectLocByLocStsPakInO2" resultMap="BaseResultMap"> @@ -113,7 +113,7 @@ <foreach collection="locNos" item="locNo" index="index" open="(" close=")" separator=","> #{locNo} </foreach> - AND loc_sts in ('O') order by row1 + AND loc_sts in ('O') order by row1 ,lev1 </select> </mapper> -- Gitblit v1.9.1