From c1ef2d1fc4c0dae2bc8452924dcd77a0ff3a1ef5 Mon Sep 17 00:00:00 2001
From: cpT <1@123>
Date: 星期四, 19 六月 2025 15:02:52 +0800
Subject: [PATCH] #改造
---
src/main/resources/mapper/TaskWrkMapper.xml | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/TaskWrkMapper.xml b/src/main/resources/mapper/TaskWrkMapper.xml
index 9787512..1793962 100644
--- a/src/main/resources/mapper/TaskWrkMapper.xml
+++ b/src/main/resources/mapper/TaskWrkMapper.xml
@@ -123,7 +123,7 @@
select * from "SOURCE"."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) or ("WRK_STS"=14 and "STATUS"=9))
+ or ("WRK_STS"=4 and "STATUS"=5))
order by "IO_PRI" desc,"CREATE_TIME","WRK_NO" ASC
</select>
@@ -131,8 +131,7 @@
insert into "SOURCE"."wcs_task_wrk_log"
select * from "SOURCE"."wcs_task_wrk"
where "TASK_NO" = #{taskNo}
- and ("STATUS"=5 or "STATUS"=4 or "STATUS"=6 or "STATUS"=7 or "STATUS"=9)
- and ("WRK_NO" not in (select "WRK_NO" from "SOURCE"."asr_bas_devp"))
+ and ("STATUS"=5 or "STATUS"=4 or "STATUS"=7)
</insert>
<insert id="saveToHistoryD">
--
Gitblit v1.9.1