taisheng
2025-07-02 a5fd6b72f8342f0228321849b04c822feba2d2a0
src/main/resources/mapper/WrkMastMapper.xml
@@ -73,10 +73,10 @@
        order by io_pri desc,wrk_sts desc
    </select>
    <select id="selectNoShuttleWrkByLev" resultMap="BaseResultMap">
    <select id="selectWrkByLev" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where shuttle_no is null
        and ((wrk_sts = 2 and loc_no like #{lev}) or (wrk_sts = 101 and source_loc_no like #{lev}))
        where 1=1
        and ((loc_no like #{lev}) or (source_loc_no like #{lev}))
        order by io_pri desc,wrk_sts desc
    </select>
@@ -97,8 +97,6 @@
    <select id="selectLiftWrkMast" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where lift_no = #{liftNo}
        and wrk_sts not in (9,10,109,110,210,311,410)
        limit 0,1
    </select>
    <select id="selectLocToLocWrkMast" resultMap="BaseResultMap">