#
Junjie
2025-02-11 ed265ddfb8f08f69af064a9adf65fcbf06289ffe
src/main/resources/mapper/WrkMastMapper.xml
@@ -25,6 +25,7 @@
        <result column="shuttle_no" property="shuttleNo" />
        <result column="lift_no" property="liftNo" />
        <result column="wms_wrk_no" property="wmsWrkNo" />
        <result column="system_msg" property="systemMsg" />
    </resultMap>
@@ -139,7 +140,7 @@
        where 1=1
        and shuttle_no = #{shuttleNo}
        and wrk_sts not in (9,10,109,110,210)
        and io_type not in (200)
        and io_type not in (200,300)
        order by io_pri desc,io_time,wrk_no asc
        limit 0,1
    </select>
@@ -163,14 +164,14 @@
    <select id="selectChargeWorking" resultMap="BaseResultMap">
        select * from asr_wrk_mast
        where wrk_sts in (201,202,203)
        where io_type in (300)
        and shuttle_no = #{shuttleNo}
        order by io_pri desc,io_time,wrk_no asc
    </select>
    <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>