From add5c816a5281cf6b1df4a0988e8b3a0c2b59bee Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期三, 25 六月 2025 17:37:03 +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 350325b..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); //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫睜缁勯泦鍚� - List<Integer> getBattgroupIdList(@Param("dto") ParamAlmDto dto); + 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