src/main/resources/mapper/LocMastMapper.xml
@@ -42,6 +42,9 @@ from asr_loc_mast where row1=#{row} and loc_sts='O' <if test="bay != null and bay == 5"> and bay1 = #{bay} </if> <if test="locType1 != null"> and loc_type1 = #{locType1} </if> @@ -51,6 +54,10 @@ order by NEWID(),lev1 asc,bay1 asc </select> <select id="queryDemoSourceLoc" resultMap="BaseResultMap"> select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts='D'