package com.whyc.mapper; import com.whyc.dto.BattDto; import com.whyc.dto.InfoDto; import com.whyc.dto.Statistic.BattCompareStic; import com.whyc.dto.Statistic.MonStic; import com.whyc.dto.Statistic.StationStic; import com.whyc.pojo.db_station.BattInf; import org.apache.ibatis.annotations.Param; import java.util.List; public interface BattInfMapper extends CustomMapper{ //获取对应的设备id Integer getMaxdevId(); //获取对应的电池组id Integer getMaxBattGroupId(); //查询机房,电源,电池组信息 List getInfo(BattDto dto); //检测电源下是否存在设备 Integer getMaxDevNum(@Param("powerId") Integer powerId); //检测设备下是否存在电池组 Integer getMaxBattgroupNum(@Param("devId") Integer devId); //获取电池品牌(下拉) List getProductByUid(@Param("uid") Integer uid); //获取标称单体电压(下拉) List getMonVolByUid(@Param("uid") Integer uid); //获取设备型号(下拉) List getDevTypeByUid(@Param("uid") Integer uid); //获取标称容量(下拉) List getMonCapByUid(@Param("uid") Integer uid); //获取标称内阻(下拉) List getMonResByUid(@Param("uid") Integer uid); //设备信息统计 List getDevStatistic(@Param("stic") StationStic stic); //获取设备下电池组个数 Integer getBattCountBydevId(Integer devId); //蓄电池组信息统计 List getBattStatistic(@Param("stic") StationStic stic); //单体统计查询符合条件的电池组 List getMonStatistic(@Param("stic") MonStic stic); //蓄电池组对比分析界面 List getBattCompare15Statistic(@Param("stic") BattCompareStic stic); //蓄电池组对比分析界面 List getBattCompare16Statistic(@Param("stic") BattCompareStic stic); //蓄电池组对比分析界面 List getBattCompare17Statistic(@Param("stic") BattCompareStic stic); }