whyclxw
2025-05-16 98680dbc7facfcfcd5ef0c00deb2f172929a34bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.whyc.mapper;
 
import com.whyc.dto.BattDto;
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<BattInf> getBatt(BattDto dto);
    //检测电源下是否存在设备
    Integer getMaxDevNum(@Param("powerId") Integer powerId);
}