From cce8b8793ca1466ca1330f3bd62e11ae6551261e Mon Sep 17 00:00:00 2001
From: cpT <1@123>
Date: 星期二, 01 七月 2025 13:51:58 +0800
Subject: [PATCH] #改造
---
src/main/resources/mapper/BasDevpMapper.xml | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/main/resources/mapper/BasDevpMapper.xml b/src/main/resources/mapper/BasDevpMapper.xml
index 8b76c3e..acfe853 100644
--- a/src/main/resources/mapper/BasDevpMapper.xml
+++ b/src/main/resources/mapper/BasDevpMapper.xml
@@ -47,24 +47,24 @@
<select id="getAvailableInSite" resultType="java.lang.Integer">
select
- abd."dev_no"
+ abd."DEV_NO"
from "SOURCE"."asr_bas_devp" abd
- left join "SOURCE"."asr_sta_desc" asd on abd."dev_no" = asd."stn_no"
+ left join "SOURCE"."asr_sta_desc" asd on abd."DEV_NO" = asd."STN_NO"
where 1=1
- and asd."type_no" = #{typeNo}
- and abd."in_enable" = 'Y'
- group by abd."dev_no"
+ and asd."TYPE_NO" = #{typeNo}
+ and abd."IN_ENABLE" = 'Y'
+ group by abd."DEV_NO"
</select>
<select id="getAvailableOutSite" resultType="java.lang.Integer">
select
- abd."dev_no"
+ abd."DEV_NO"
from "SOURCE"."asr_bas_devp" abd
- left join "SOURCE"."asr_sta_desc" asd on abd."dev_no" = asd."stn_no"
+ left join "SOURCE"."asr_sta_desc" asd on abd."DEV_NO" = asd."STN_NO"
where 1=1
- and asd."type_no" = #{typeNo}
- and abd."out_enable" = 'Y'
- group by abd."dev_no"
+ and asd."TYPE_NO" = #{typeNo}
+ and abd."OUT_ENABLE" = 'Y'
+ group by abd."DEV_NO"
</select>
</mapper>
--
Gitblit v1.9.1