whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/mapper/PowerInfMapper.java
@@ -1,5 +1,6 @@
package com.whyc.mapper;
import com.whyc.dto.paramter.PowerInfPar;
import com.whyc.pojo.PowerInf;
import org.apache.ibatis.annotations.Param;
@@ -23,14 +24,24 @@
    // List<PowerInf> getPowerDevicesPage(@Param("uId")Long uId, @Param("powerInf") PowerInf powerInf);
    List<PowerInf> getPowerDevicesPage(@Param("uId") Long uId, @Param("stationId") String stationId, @Param("stationName1") String stationName1, @Param("stationName2") String stationName2, @Param("stationName5") String stationName5);
    List<PowerInf> getPowerDevicesPage(@Param("uId") Long uId, @Param("powerInfPar") PowerInfPar powerInfPar);
    List<PowerInf> getStations(@Param("uId") Long uId, @Param("stationName5") String stationName5);
    int getNum(int userId);
    //山西晋源特定接口
    int getNumJY();
    List<PowerInf> getPwrdevInfAnalysis(int userId);
    List<PowerInf> getPwrInf(Long userId);
    List<PowerInf> getPwrInf(@Param("uId") Long uId);
    //获取所有的电源品牌
    List<String> getPwrProducer();
    // //是否存在电源设备
    int hasPowerSinf(String stationId);
    List<PowerInf> getInfInStation(String stationId);
}