src/main/resources/mapper/LocMastMapper.xml
@@ -203,20 +203,5 @@ #{item} </foreach> </select> <select id="queryLocMasterByLocStsAndRow" resultMap="BaseResultMap"> select top 1 * from asr_loc_mast alm inner join asr_bas_crnp abc on alm.crn_no = abc.crn_no where alm.loc_sts = #{locType} and abc.crn_err = 0 and abc.crn_sts = 3 <if test="rowList != null and !rowList.isEmpty()"> and alm.row1 in <foreach collection="rowList" item="item" open="(" close=")" separator=","> #{item} </foreach> </if> order by alm.crn_no desc,lev1,bay1,row1 </select> </mapper>