src/main/resources/mapper/LocMastMapper.xml
@@ -74,4 +74,15 @@ ) </select> <select id="queryFreeLocMast0" resultMap="BaseResultMap"> select top 1 * from asr_loc_mast where row1=#{row} and loc_sts='O' <if test="locType1 != null"> and loc_type1 = #{locType1} </if> order by loc_sts desc ,lev1 asc,bay1 asc </select> </mapper>