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/java/com/whyc/mapper/BattInfMapper.java | 47 ++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 42 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/whyc/mapper/BattInfMapper.java b/src/main/java/com/whyc/mapper/BattInfMapper.java index eb4497a..806cbe4 100644 --- a/src/main/java/com/whyc/mapper/BattInfMapper.java +++ b/src/main/java/com/whyc/mapper/BattInfMapper.java @@ -2,6 +2,8 @@ import com.whyc.dto.BattDto; import com.whyc.dto.InfoDto; +import com.whyc.dto.Param.ParamAlmDto; +import com.whyc.dto.Statistic.*; import com.whyc.pojo.db_station.BattInf; import org.apache.ibatis.annotations.Param; @@ -19,15 +21,50 @@ //妫�娴嬭澶囦笅鏄惁瀛樺湪鐢垫睜缁� Integer getMaxBattgroupNum(@Param("devId") Integer devId); //鑾峰彇鐢垫睜鍝佺墝(涓嬫媺) - List<String> getProductByUid(@Param("devId") Integer uid); + List<String> getProductByUid(@Param("uid") Integer uid); //鑾峰彇鏍囩О鍗曚綋鐢靛帇(涓嬫媺) - List<String> getMonVolByUid(@Param("devId") Integer uid); + List<Float> getMonVolByUid(@Param("uid") Integer uid); //鑾峰彇璁惧鍨嬪彿(涓嬫媺) - List<String> getDevTypeByUid(@Param("devId") Integer uid); + List<String> getDevTypeByUid(@Param("uid") Integer uid); //鑾峰彇鏍囩О瀹归噺(涓嬫媺) - List<String> getMonCapByUid(@Param("devId") Integer uid); + List<Float> getMonCapByUid(@Param("uid") Integer uid); //鑾峰彇鏍囩О鍐呴樆(涓嬫媺) - List<String> getMonResByUid(@Param("devId") Integer uid); + List<Float> getMonResByUid(@Param("uid") Integer uid); + //璁惧淇℃伅缁熻 + List<BattInf> getDevStatistic(@Param("stic") StationStic stic); + //鑾峰彇璁惧涓嬬數姹犵粍涓暟 + Integer getBattCountBydevId(Integer devId); + //钃勭數姹犵粍淇℃伅缁熻 + List<BattInf> getBattStatistic(@Param("stic") StationStic stic); + //鍗曚綋缁熻鏌ヨ绗﹀悎鏉′欢鐨勭數姹犵粍 + 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); } \ No newline at end of file -- Gitblit v1.9.1