src/main/java/com/whyc/mapper/BattInfMapper.java
@@ -2,6 +2,7 @@ import com.whyc.dto.BattDto; import com.whyc.pojo.db_station.BattInf; import org.apache.ibatis.annotations.Param; import java.util.List; @@ -12,4 +13,6 @@ Integer getMaxBattGroupId(); //查询电池 List<BattInf> getBatt(BattDto dto); //检测电源下是否存在设备 Integer getMaxDevNum(@Param("powerId") Integer powerId); }