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/WrkMastStaMapper.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/WrkMastStaMapper.xml b/src/main/resources/mapper/WrkMastStaMapper.xml
index 9f781f4..af85b0f 100644
--- a/src/main/resources/mapper/WrkMastStaMapper.xml
+++ b/src/main/resources/mapper/WrkMastStaMapper.xml
@@ -82,6 +82,22 @@
</if>
</select>
+ <select id="selectAllWrkCount108" resultType="Integer">
+ select count(1) from asr_wrk_mast_sta
+ where 1=1
+ and type = 1
+ and (sta_end = 108 or sta_start = 108)
+ </select>
+
+ <select id="selectAllWrkCount108Y" resultType="Integer">
+ select count(1) from asr_wrk_mast_sta
+ where 1=1
+-- and type = 1
+ and ((sta_end <= 108 or sta_start <= 108)
+ or (sta_end = 118 or sta_start = 118)
+ or (sta_end = 122 or sta_start = 122))
+ </select>
+
<select id="selectAllWrkStsCount" resultType="Integer">
select count(1) from asr_wrk_mast_sta
where 1=1
--
Gitblit v1.9.1