whyclxw
2025-05-17 441f4fd8652a5d51c386d19eb27a7dbb2140b10b
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
package com.whyc.mapper;
 
import com.whyc.dto.BattDto;
import com.whyc.dto.InfoDto;
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("devId") Integer uid);
    //获取标称单体电压(下拉)
    List<String> getMonVolByUid(@Param("devId") Integer uid);
    //获取设备型号(下拉)
    List<String> getDevTypeByUid(@Param("devId") Integer uid);
 
    //获取标称容量(下拉)
    List<String> getMonCapByUid(@Param("devId") Integer uid);
 
    //获取标称内阻(下拉)
    List<String> getMonResByUid(@Param("devId") Integer uid);
}