From 3470b33466cfd9ce423a46220ff81f734fae9fb7 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期五, 20 六月 2025 11:32:34 +0800
Subject: [PATCH] 预警分析管理-主属性和配置属性

---
 src/main/resources/mapper/BattInfMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/BattInfMapper.xml b/src/main/resources/mapper/BattInfMapper.xml
index 2242c18..3692e5f 100644
--- a/src/main/resources/mapper/BattInfMapper.xml
+++ b/src/main/resources/mapper/BattInfMapper.xml
@@ -466,7 +466,7 @@
             </if>
         </where>
     </select>
-    <select id="getBattgroupIdList" resultType="com.whyc.pojo.db_station.BattInf">
+    <select id="getBattgroupIdInf" resultType="com.whyc.pojo.db_station.BattInf">
         select distinct tb_batt_inf.*
         ,tb_station_inf.station_type,tb_station_inf.station_name,tb_station_inf.provice,tb_station_inf.city,tb_station_inf.country,tb_station_inf.full_name
         from db_station.tb_batt_inf,db_station.tb_station_inf
@@ -476,4 +476,12 @@
         </where>
         limit 1
     </select>
+    <select id="getBattgroupIdList" resultType="java.lang.Integer">
+        select distinct tb_batt_inf.battgroup_id
+        from db_station.tb_batt_inf
+        <where>
+             tb_batt_inf.power_id=#{powerId}
+        </where>
+        order by battgroup_num asc
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1