src/main/resources/mapper/LocMastMapper.xml
@@ -90,4 +90,22 @@ order by loc_sts desc ,lev1 asc,bay1 asc </select> <select id="queryShallowLocFMast" resultMap="BaseResultMap"> select * from asr_loc_mast where 1=1 and loc_no in ( select concat( ( case when left(loc_no, 2) = '01' then '02' end) , right(loc_no, 5)) as shallowLocNo from asr_loc_mast where 1=1 and loc_sts = 'O' and row1 in (1,4,5,8,9,12,13,16,17,20) ) and (loc_sts = 'F' or loc_sts = 'D') </select> </mapper>