From 4b3cef746d0752487beffb72ff340e220b0388cd Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期六, 21 六月 2025 16:20:02 +0800 Subject: [PATCH] 预警分析管理修改 --- src/main/resources/mapper/BattInfMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/mapper/BattInfMapper.xml b/src/main/resources/mapper/BattInfMapper.xml index f572667..3ddd7c3 100644 --- a/src/main/resources/mapper/BattInfMapper.xml +++ b/src/main/resources/mapper/BattInfMapper.xml @@ -476,16 +476,16 @@ </where> limit 1 </select> - <select id="getBattgroupIdListByPowerId" resultType="java.lang.Integer"> - select distinct tb_batt_inf.battgroup_id + <select id="getBattgroupIdListByPowerId" resultType="com.whyc.pojo.db_station.BattInf"> + select distinct tb_batt_inf.* from db_station.tb_batt_inf <where> tb_batt_inf.power_id=#{powerId} </where> order by battgroup_num asc </select> - <select id="getBattgroupIdListByDevId" resultType="java.lang.Integer"> - select distinct tb_batt_inf.battgroup_id + <select id="getBattgroupIdListByDevId" resultType="com.whyc.pojo.db_station.BattInf"> + select distinct tb_batt_inf.* from db_station.tb_batt_inf <where> tb_batt_inf.dev_id=#{devId} -- Gitblit v1.9.1