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 | 33 ++++++++++++++++++++++++++++++--- 1 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/whyc/mapper/BattInfMapper.java b/src/main/java/com/whyc/mapper/BattInfMapper.java index 80890ac..6e0e58d 100644 --- a/src/main/java/com/whyc/mapper/BattInfMapper.java +++ b/src/main/java/com/whyc/mapper/BattInfMapper.java @@ -2,9 +2,9 @@ import com.whyc.dto.BattDto; import com.whyc.dto.InfoDto; -import com.whyc.dto.Statistic.BattCompareStic; -import com.whyc.dto.Statistic.MonStic; -import com.whyc.dto.Statistic.StationStic; +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; @@ -43,4 +43,31 @@ List<BattInf> getMonStatistic(@Param("stic") MonStic stic); //钃勭數姹犵粍瀵规瘮鍒嗘瀽鐣岄潰 List<BattInf> getBattCompare15Statistic(@Param("stic") BattCompareStic stic); + //钃勭數姹犵粍瀵规瘮鍒嗘瀽鐣岄潰 + List<BattInf> getBattCompare16Statistic(@Param("stic") BattCompareStic stic); + //钃勭數姹犵粍瀵规瘮鍒嗘瀽鐣岄潰 + List<BattInf> getBattCompare17Statistic(@Param("stic") BattCompareStic stic); + //鏈勾搴﹀凡鏀剧數鏁伴噺缁熻(1.2.5) + List<BattInf> getDischr5Statistic(@Param("stic") DisChargeStic stic); + //鏈勾搴﹀凡鏀剧數鏁伴噺缁熻(1.2.6) + List<BattInf> getDischr6Statistic(@Param("stic") DisChargeStic stic); + //鐢垫睜缁勭數姹犳�ц兘缁熻锛堟湭鏀剧數锛屼紭绉�锛屽姡鍖栵紝鎹熷潖锛夌粺璁�(1.2.8/9/10) + List<BattInf> getPerformanceStatistic(@Param("stic") PerformanceStic stic); + //鏈勾搴﹀凡/鏈斁鐢垫暟閲忕粺璁″彸渚у浘琛�(1.2.5) + List<BattInf> getDischrChart(@Param("uid") Integer uid); + + List<BattInf> getListByUserId(Integer userId); + + List<BattInf> getListByCondition(Integer userId, BattInf battInf); + + //鑾峰彇绔欑偣涓嬬殑鐢垫睜缁�(涓嬫媺) + List<BattInf> getBattByUid(@Param("uid") Integer uid, @Param("provice") String provice, @Param("city") String city, @Param("country") String country, @Param("stationName") String stationName); + //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫睜缁勯泦鍚� + 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