src/main/resources/mapper/LocMastMapper.xml
@@ -46,9 +46,14 @@ from asr_loc_mast where row1=#{row} and loc_sts='O' <if test="locType1 != null"> and loc_type1 = #{locType1} </if> <choose> <when test="locType1 != null"> and loc_type1 = #{locType1} </when> <otherwise> and 1!=1 </otherwise> </choose> order by lev1 asc,bay1 asc </select>