whyclxw
2025-06-12 10574a67b78e2578fc10e8fbe83965bf4832c36a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package com.whyc.mapper;
 
import com.whyc.dto.BattDto;
import com.whyc.dto.InfoDto;
import com.whyc.dto.Statistic.*;
import com.whyc.pojo.db_station.BattInf;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface BattInfMapper extends CustomMapper<BattInf>{
    //获取对应的设备id
    Integer getMaxdevId();
    //获取对应的电池组id
    Integer getMaxBattGroupId();
    //查询机房,电源,电池组信息
    List<InfoDto> getInfo(BattDto dto);
    //检测电源下是否存在设备
    Integer getMaxDevNum(@Param("powerId") Integer powerId);
    //检测设备下是否存在电池组
    Integer getMaxBattgroupNum(@Param("devId") Integer devId);
    //获取电池品牌(下拉)
    List<String> getProductByUid(@Param("uid") Integer uid);
    //获取标称单体电压(下拉)
    List<Float> getMonVolByUid(@Param("uid") Integer uid);
    //获取设备型号(下拉)
    List<String> getDevTypeByUid(@Param("uid") Integer uid);
 
    //获取标称容量(下拉)
    List<Float> getMonCapByUid(@Param("uid") 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);
 
}