whyclxw
2025-05-12 ff4cd28ee0535021dcc86d49bfe37545ea2fc1fd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
 
}