Junjie
2023-07-21 8c4a69845aefd4699a7e1f30fa6407763543b48a
src/main/resources/mapper/WrkMastMapper.xml
@@ -163,4 +163,19 @@
        select top 1 * from asr_wrk_mast
        where lift_no = #{liftNo}
    </select>
    <select id="selectInOutWrkMast" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where io_type in (1,101)
        and wrk_sts not in (14,15,34,35)
        order by io_pri desc,wrk_sts desc
    </select>
    <select id="selectLocToLocWrkMast" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where io_type in (11)
        and wrk_sts not in (14,15,34,35)
        order by io_pri desc,wrk_sts desc
    </select>
</mapper>