package com.whyc.mapper; import com.whyc.dto.Station.Provice; import com.whyc.dto.Statistic.StationStic; import com.whyc.pojo.db_station.PowerInf; import com.whyc.pojo.db_station.StationInf; import org.apache.ibatis.annotations.Param; import java.util.List; public interface StationInfMapper extends CustomMapper{ //获取当前最大的机房id Integer getMaxStationId(); //获取左侧列表 List getLeftStation(@Param("uid") Integer uid); //获取所有的省份 List getProviceByUid(@Param("uid") Integer uid); //获取省下的市 List getCityByUid(@Param("uid") Integer uid,@Param("provice") String provice); //获取省市下的区县 List getCountryByUid(@Param("uid") Integer uid,@Param("provice") String provice, @Param("city") String city); //获取省市区县下的站点 List getStationByUid(@Param("uid") Integer uid,@Param("provice") String provice,@Param("city") String city,@Param("country") String country); //获取站点下的电源(下拉) List getPowerByUid(@Param("uid") Integer uid, @Param("provice") String provice, @Param("city") String city, @Param("country") String country, @Param("stationName") String stationName); //获取电压等级(下拉) List getStationTypeByUid(@Param("uid") Integer uid); //站点信息统计 List getStationStatistic(@Param("stic") StationStic stic); List getListByUserId(Integer userId); }