From b90e5934dacde7ba72061b9c7ffeab2b547143e7 Mon Sep 17 00:00:00 2001
From: Administrator <335182714>
Date: 星期六, 08 十一月 2025 13:03:01 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/WrkMastStaMapper.xml |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/WrkMastStaMapper.xml b/src/main/resources/mapper/WrkMastStaMapper.xml
index adfcb7a..9f781f4 100644
--- a/src/main/resources/mapper/WrkMastStaMapper.xml
+++ b/src/main/resources/mapper/WrkMastStaMapper.xml
@@ -33,7 +33,7 @@
     <select id="selectByWrkNo" resultMap="BaseResultMap">
         select top 1 * from asr_wrk_mast_sta
         where 1=1
-        and wrk_no = #{wrkNo}
+        and wrk_no = #{workNo}
     </select>
 
     <select id="selectNoInterfere" resultMap="BaseResultMap">
@@ -93,6 +93,17 @@
         </if>
     </select>
 
+    <select id="selectAllWrkStsCountWrkMastSta" resultMap="BaseResultMap">
+        select top 1 * from asr_wrk_mast_sta
+        where 1=1
+        <if test="type!=null">
+            and type = #{type}
+        </if>
+        <if test="wrkSts!=null">
+            and wrk_sts = #{wrkSts}
+        </if>
+    </select>
+
 
 
 

--
Gitblit v1.9.1