From 9e428b3f4a90df003848d28aca5f358c7b6ef969 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期三, 25 六月 2025 14:43:58 +0800 Subject: [PATCH] 蓄电池对比分析中弹窗根据设置的权重表格评分 --- src/main/java/com/whyc/mapper/BattInfMapper.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/whyc/mapper/BattInfMapper.java b/src/main/java/com/whyc/mapper/BattInfMapper.java index 7f0d5b2..6e0e58d 100644 --- a/src/main/java/com/whyc/mapper/BattInfMapper.java +++ b/src/main/java/com/whyc/mapper/BattInfMapper.java @@ -3,6 +3,7 @@ import com.whyc.dto.BattDto; import com.whyc.dto.InfoDto; import com.whyc.dto.Param.ParamAlmDto; +import com.whyc.dto.SocreHehaviorDto; import com.whyc.dto.Statistic.*; import com.whyc.pojo.db_station.BattInf; import org.apache.ibatis.annotations.Param; @@ -62,5 +63,11 @@ //鑾峰彇绔欑偣涓嬬殑鐢垫睜缁�(涓嬫媺) List<BattInf> getBattByUid(@Param("uid") Integer uid, @Param("provice") String provice, @Param("city") String city, @Param("country") String country, @Param("stationName") String stationName); //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫睜缁勯泦鍚� - BattInf getBattgroupIdList(@Param("battgroupId") Integer battgroupId); + BattInf getBattgroupIdInf(@Param("battgroupId") Integer battgroupId); + //鏌ヨ鐢垫簮涓嬫墍鏈夌殑鐢垫睜缁刬d + List<BattInf> getBattgroupIdListByPowerId(@Param("powerId") Integer powerId); + //鏌ヨ璁惧涓嬫墍鏈夌殑鐢垫睜缁刬d + List<BattInf> getBattgroupIdListByDevId(@Param("devId") Integer devId); + //璇㈢鍚堟潯浠剁殑鐢垫睜缁勬潈閲嶈〃鏍艰瘎鍒� + List<BattInf> getScoreByHehavior(@Param("stic") SocreHehaviorDto dto); } \ No newline at end of file -- Gitblit v1.9.1