From 207823b94f5627fae49d29b51b5ce7186a70c8e0 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期六, 04 一月 2025 09:59:48 +0800
Subject: [PATCH] #
---
src/main/resources/mapper/BasDevpMapper.xml | 16 ++++++++++++++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/BasDevpMapper.xml b/src/main/resources/mapper/BasDevpMapper.xml
index b00be22..82bb791 100644
--- a/src/main/resources/mapper/BasDevpMapper.xml
+++ b/src/main/resources/mapper/BasDevpMapper.xml
@@ -51,7 +51,19 @@
left join asr_sta_desc asd on abd.dev_no = asd.stn_no
where 1=1
and asd.type_no = #{typeNo}
- and abd.in_enable = 'Y'
+ -- and abd.in_enable = 'Y'
+ group by abd.dev_no
+ </select>
+
+ <select id="getAvailableInSite5" resultType="java.lang.Integer">
+ select
+ abd.dev_no
+ from asr_bas_devp abd
+ left join asr_sta_desc asd on abd.dev_no = asd.stn_no
+ where 1=1
+ and asd.type_no = #{typeNo}
+ and asd.crn_no = 5
+ -- and abd.in_enable = 'Y'
group by abd.dev_no
</select>
@@ -62,7 +74,7 @@
left join asr_sta_desc asd on abd.dev_no = asd.stn_no
where 1=1
and asd.type_no = #{typeNo}
- and abd.out_enable = 'Y'
+ -- and abd.out_enable = 'Y'
group by abd.dev_no
</select>
--
Gitblit v1.9.1