src/main/java/com/whyc/mapper/PowerInfMapper.java
@@ -1,9 +1,15 @@ package com.whyc.mapper; import com.whyc.dto.PowerDto; import com.whyc.pojo.db_station.PowerInf; import com.whyc.pojo.db_station.StationInf; import java.util.List; public interface PowerInfMapper extends CustomMapper<PowerInf>{ List<PowerInf> getPowerList(); //获取对应的电源id int getMaxPowerId(); //查询电源 List<PowerInf> getPower(PowerDto dto); }