From 3897c8800805f6e99e30d700fe0c11c5ed2df84a Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期五, 26 九月 2025 14:24:59 +0800 Subject: [PATCH] 1 --- src/main/resources/mapper/LocMastMapper.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml index 7821af2..17f1767 100644 --- a/src/main/resources/mapper/LocMastMapper.xml +++ b/src/main/resources/mapper/LocMastMapper.xml @@ -48,6 +48,18 @@ order by NEWID(),lev1 asc,bay1 asc </select> + <select id="queryFreeLocMast2" resultMap="BaseResultMap"> + select top 1 * + from asr_loc_mast + where row1=#{row} + and loc_sts='O' + and row1 != #{row} + <if test="locType1 != null"> + and loc_type1 = #{locType1} + </if> + order by NEWID(),lev1 asc,bay1 asc + </select> + <select id="queryDemoSourceLoc" resultMap="BaseResultMap"> select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts='D' -- Gitblit v1.9.1