Junjie
2 天以前 bdb924aaaef6a8d282ed2d34850cfd229d5865c7
src/main/resources/mapper/WrkMastMapper.xml
@@ -73,13 +73,6 @@
        order by io_pri desc,wrk_sts desc
    </select>
    <select id="selectNoShuttleWrkByLev" 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}))
        order by io_pri desc,wrk_sts desc
    </select>
    <select id="selectShuttleWrkByLev" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where shuttle_no is not null
@@ -97,8 +90,6 @@
    <select id="selectLiftWrkMast" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where lift_no = #{liftNo}
        and wrk_sts in (3,4,104,105,302,303,304,305,306,307,308,309)
        limit 0,1
    </select>
    <select id="selectLocToLocWrkMast" resultMap="BaseResultMap">
@@ -171,7 +162,7 @@
    <select id="selectChargeWorkingByChargeSta" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where wrk_sts in (201,202,203)
        where wrk_sts in (201,202,203,204,205,210)
        and mk = #{chargeSta}
        order by io_pri desc,io_time,wrk_no asc
    </select>