whyclxw
2025-05-15 96510a549bfb313920bf297b28089c4cf57f0146
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
package com.whyc.mapper;
 
import com.github.pagehelper.PageInfo;
import com.whyc.dto.Station.Provice;
import com.whyc.pojo.plus_inf.LockInf;
import com.whyc.pojo.plus_inf.StationInf;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface StationInfMapper extends CustomMapper<StationInf>{
    //获取当前最大的机房id
    Integer getMaxStationNum();
    //获取对应的机房id
    Integer getStaitonIdByNum(@Param("stationNum") Integer stationNum);
    //获取左侧列表
    List<Provice> getLeftStation(@Param("uid") Integer uid);
    //获取所有的省份
    List<String> getProviceByUid(@Param("uid") Integer uid);
    //获取省下的市
    List<String> getCityByUid(@Param("uid") Integer uid,@Param("stationName1") String stationName1);
    //获取省市下的区县
    List<String> getCountryByUid(@Param("uid") Integer uid,@Param("stationName1") String stationName1, @Param("stationName2") String stationName2);
    //获取省市区县下的站点
    List<String> getStationByUid(@Param("uid") Integer uid,@Param("stationName1") String stationName1,@Param("stationName2") String stationName2,@Param("stationName3") String stationName3);
    //获取省市区县机房站点下的锁
    List<LockInf> getLockByUid(@Param("uid") Integer uid, @Param("stationName1") String stationName1, @Param("stationName2") String stationName2,@Param("stationName3") String stationName3,@Param("stationName4") String stationName4);
}