src/main/resources/mapper/LocMastMapper.xml
@@ -351,4 +351,22 @@ #{item} </foreach> </select> <select id="selectEmptyLocCount0" resultMap="BaseResultMap"> select count(*) as count from asr_loc_mast where 1=1 and loc_sts = 'O' and loc_type1 = #{locType1} and loc_type2 = #{locType2} and crn_no = #{crnNo} <if test="crnNo == 1"> and row1 in (3,4) </if> <if test="crnNo == 2"> and row1 in (11,12) </if> <if test="crnNo == 3"> and row1 in (18,19) </if> </select> </mapper>