自动化立体仓库 - WMS系统
chen.llin
3 天以前 cea1758e1f540e3f5f807951f128b7385b32afe6
src/main/resources/mapper/TaskMapper.xml
@@ -34,13 +34,13 @@
    <select id="selectToBeCompleteData" resultMap="BaseResultMap">
        select * from agv_task where ((wrk_sts = 4 Or wrk_sts = 14 Or wrk_sts = 15 ) and io_type != 103 and io_type != 104 and io_type != 107 ) or (wrk_sts = 2 and io_type=6) order by upd_mk,error_time,io_time,wrk_no
        select * from agv_task where is_deleted = 0 and(((wrk_sts = 4 Or wrk_sts = 14 Or wrk_sts = 15 ) and io_type != 103 and io_type != 104 and io_type != 107 ) or (wrk_sts = 2 and io_type=6) ) order by upd_mk,error_time,io_time,wrk_no
    </select>
    <select id="selectToBeHistoryData" resultMap="BaseResultMap">
        select * from agv_task
        where wrk_sts=5 or wrk_sts=15
        where  is_deleted = 0 and( wrk_sts=5 or wrk_sts=15)
        order by io_time,wrk_no asc
    </select>
</mapper>