From 8c635598000e40edfb3edf5934124ad48d60f62d Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期六, 21 六月 2025 19:14:50 +0800 Subject: [PATCH] 实时页面修改 --- src/main/resources/mapper/BattInfMapper.xml | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/BattInfMapper.xml b/src/main/resources/mapper/BattInfMapper.xml index 3692e5f..3ddd7c3 100644 --- a/src/main/resources/mapper/BattInfMapper.xml +++ b/src/main/resources/mapper/BattInfMapper.xml @@ -476,12 +476,20 @@ </where> limit 1 </select> - <select id="getBattgroupIdList" 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="com.whyc.pojo.db_station.BattInf"> + select distinct tb_batt_inf.* + from db_station.tb_batt_inf + <where> + tb_batt_inf.dev_id=#{devId} + </where> + order by battgroup_num asc + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1