Junjie
2023-07-24 4a2d92f23e17c0d8a47976af51cf4db871df9e83
src/main/resources/mapper/WrkMastMapper.xml
@@ -141,7 +141,7 @@
    <select id="selectBy2125" resultMap="BaseResultMap">
        select * from dbo.asr_wrk_mast
        where wrk_sts in (21,25)
        and io_type in (101)
        and io_type in (101,103)
        order by io_pri desc,wrk_sts desc
    </select>
@@ -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>