野心家
2025-02-17 796cfcc66392f78362cd72ca2510fc5194c0d079
src/main/resources/mapper/TaskWrkMapper.xml
@@ -119,7 +119,7 @@
    <select id="selectToBeHistoryData" resultMap="BaseResultMap">
        select * from dbo.wcs_task_wrk
        where 1=1
        and ((wrk_sts=14 and status=5) or status=7 or status=4 or (wrk_sts=4 and status=5))
        and ((wrk_sts=14 and status=5) or status=7 or status=4 or (wrk_sts=7 and status=5))
        order by io_pri desc,create_time,wrk_no ASC
    </select>