自动化立体仓库 - WCS系统
#
luxiaotao1123
2020-12-30 07b91f72f945f72eb3ac3d383baa5fb0bb7aa0f1
#
1个文件已修改
6 ■■■■ 已修改文件
src/main/resources/mapper/LocMastMapper.xml 6 ●●●● 补丁 | 查看 | 原始文档 | 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
        select top 1 * from asr_loc_mast where crn_no = #{crnNo} and loc_sts = 'O'
        ORDER BY NEWID()
    </select>
</mapper>