package com.whyc.mapper;
|
|
import com.whyc.dto.Station.Provice;
|
import com.whyc.pojo.db_station.StationInf;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
public interface StationInfMapper extends CustomMapper<StationInf>{
|
//获取当前最大的机房id
|
Integer getMaxStationNum();
|
//获取左侧列表
|
List<Provice> getLeftStation(@Param("uid") Integer uid);
|
//获取所有的省份
|
List<String> getProviceByUid(@Param("uid") Integer uid);
|
//获取省下的市
|
List<String> getCityByUid(@Param("uid") Integer uid,@Param("provice") String provice);
|
//获取省市下的区县
|
List<String> getCountryByUid(@Param("uid") Integer uid,@Param("provice") String provice, @Param("city") String city);
|
//获取省市区县下的站点
|
List<String> getStationByUid(@Param("uid") Integer uid,@Param("provice") String provice,@Param("city") String city,@Param("country") String country);
|
|
}
|