src/main/resources/mapper/TaskWrkMapper.xml
@@ -106,9 +106,10 @@ order by io_pri desc,create_time,wrk_no ASC </select> <select id="selectCrnNoWorking" resultMap="BaseResultMap"> <select id="selectCrnNoInWorking" resultMap="BaseResultMap"> select top 1 * from dbo.wcs_task_wrk where 1=1 and io_type != 2 and (wrk_sts=3 or wrk_sts=12) and crn_no=#{crnNo} and wrk_no=#{workNo}