From 6535848ee32870ec2b0873c1d90ab2157b6908e3 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期五, 13 六月 2025 16:54:50 +0800 Subject: [PATCH] 站点信息统计,电池品牌信息统计 --- src/main/resources/mapper/StationInfMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/StationInfMapper.xml b/src/main/resources/mapper/StationInfMapper.xml index f42f909..058e4fb 100644 --- a/src/main/resources/mapper/StationInfMapper.xml +++ b/src/main/resources/mapper/StationInfMapper.xml @@ -207,5 +207,13 @@ order by station_id asc </where> </select> + <select id="getListByUserId" resultType="com.whyc.pojo.db_station.StationInf"> + select distinct * from db_station.tb_station_inf + where tb_station_inf.station_id in( + select distinct station_id from db_user.tb_baojigroup_usr bu,db_user.tb_baojigroup_power bp + where bu.baoji_group_id = bp.baoji_group_id + and bu.uid = #{userId} + ) + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1