#
taisheng
2025-07-24 bc48a855d98e360042a7e2fff5594a91a82578c6
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>