src/main/resources/mapper/LocMastMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/resources/mapper/LocMastMapper.xml
@@ -44,12 +44,12 @@ <select id="queryDemoSourceLoc" resultMap="BaseResultMap"> select top 1 * from asr_loc_mast where crn_no = #{crnNo} and (loc_sts='F' or loc_sts='D') order by loc_sts desc ,lev1 asc, bay1 asc, row1 asc ORDER BY NEWID() </select> <select id="queryDemoLoc" resultMap="BaseResultMap"> select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts='O' order by loc_sts desc ,lev1 desc, bay1 desc, row1 desc ORDER BY NEWID() </select> </mapper>