lxw
2023-07-29 d1675cea759f0090c43860efabdeb9448d25c41d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.whyc.mapper;
 
import com.whyc.dto.paramter.PowerInfPar;
import com.whyc.pojo.PowerInf;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface PowerInfMapper extends CustomMapper<PowerInf> {
 
    List<String> getProvincesContainBatt();
 
    List<String> getCitiesContainBatt(String stationName1);
 
    List<String> getDistrictsContainBatt(@Param("stationName1")String stationName1,@Param("stationName2") String stationName2);
 
    List<String> getProvinces(@Param("uId") Long uId);
 
    List<String> getCities(@Param("uId")Long uId,@Param("stationName1")String stationName1);
 
    List<String> getDistricts(@Param("uId")Long uId,@Param("stationName1")String stationName1,@Param("stationName2")String stationName2);
 
    List<PowerInf> getExistStations(@Param("stationName1") String stationName1,@Param("stationName2")String stationName2,@Param("stationName5")String stationName5);
 
    // List<PowerInf> getPowerDevicesPage(@Param("uId")Long uId, @Param("powerInf") PowerInf powerInf);
 
    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);
 
    List<PowerInf> getPwrdevInfAnalysis(int userId);
 
    List<PowerInf> getPwrInf(@Param("uId") Long uId);
 
    //获取所有的电源品牌
    List<String> getPwrProducer();
}