自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-10-18 b5130c2e6d60c7f23e37f7c620375bc4e253caa3
src/main/resources/mapper/WrkMastMapper.xml
@@ -78,4 +78,26 @@
        order by io_time,wrk_no asc
    </select>
    <select id="selectByLocNoOfPakin" resultMap="BaseResultMap">
        select top 1 *
        from asr_wrk_mast
        where 1=1
        and io_type &lt; 100 and io_type != 11
        and loc_no = #{locNo}
        and wrk_sts &lt; 9
    </select>
    <select id="selectBySourceLocNoOfPakout" resultMap="BaseResultMap">
        select top 1 *
        from asr_wrk_mast
        where 1=1
        and io_type > 100
        and source_loc_no = #{sourceLocNo}
        and wrk_sts &lt; 17
    </select>
    <select id="selectOfPick" resultMap="BaseResultMap">
        select top 1 * from asr_wrk_mast where wrk_no=#{wrkNo} and wrk_sts=17 and io_type = #{ioType}
    </select>
</mapper>