From b4e0f827567f8d5ad4a1ff5caa22675cbc165b88 Mon Sep 17 00:00:00 2001
From: lsh <lsh123456>
Date: 星期三, 11 六月 2025 10:27:31 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkDetlMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/WrkDetlMapper.xml b/src/main/resources/mapper/WrkDetlMapper.xml
index 90cf3af..615f059 100644
--- a/src/main/resources/mapper/WrkDetlMapper.xml
+++ b/src/main/resources/mapper/WrkDetlMapper.xml
@@ -42,7 +42,11 @@
     </select>
 
     <select id="count1" resultType="Integer">
-        select count(1) from asr_wrk_detl where 1=1 and (wrk_no in (select wrk_no from asr_wrk_mast where 1=1 and wrk_sts in (11,12,13,14)))
+        select count(1) from asr_wrk_detl where 1=1 and (wrk_no in (select wrk_no from asr_wrk_mast where 1=1 and io_type = 101 and wrk_sts in (11,12,13,14)))
+    </select>
+
+    <select id="count11" resultType="Integer">
+        select count(1) from asr_wrk_mast where 1=1 and io_type = 103 and wrk_sts in (11,12,13,14)
     </select>
 
     <select id="count2" resultType="Integer">

--
Gitblit v1.9.1