From 4ad1f324ab1fd2b51504afc00b43b4ee40f029c2 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期四, 20 二月 2025 09:40:03 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkMastMapper.xml |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/WrkMastMapper.xml b/src/main/resources/mapper/WrkMastMapper.xml
index 124b3c6..ac9d877 100644
--- a/src/main/resources/mapper/WrkMastMapper.xml
+++ b/src/main/resources/mapper/WrkMastMapper.xml
@@ -66,6 +66,10 @@
         select * from asr_wrk_mast where ((wrk_sts = 4 Or wrk_sts = 14 ) 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="selectToBeCompleteData202" resultMap="BaseResultMap">
+        select * from asr_wrk_mast where wrk_sts = 56 and io_type = 202 and (wrk_no not in (select wrk_no from asr_bas_devp)) order by upd_mk,error_time,io_time,wrk_no
+    </select>
+
     <select id="selectToBeHistoryData" resultMap="BaseResultMap">
         select * from asr_wrk_mast
         where wrk_sts=5
@@ -78,4 +82,11 @@
         order by io_time,wrk_no asc
     </select>
 
+    <select id="selectToBeHistoryData2" resultMap="BaseResultMap">
+        select * from asr_wrk_mast
+        where
+        wrk_sts=15 and ove_mk='N' and io_type = 110 and sta_no = 213 and wrk_no in (select wrk_no from asr_bas_devp where dev_no = 213)
+        order by io_time,wrk_no asc
+    </select>
+
 </mapper>

--
Gitblit v1.9.1