whycxzp
2023-08-21 62218e47d0dcec67653a0185d17c27c6e6acdeb5
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
41
42
43
44
45
46
47
48
49
50
51
package com.whyc.mapper;
 
import com.whyc.pojo.StationInf;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface StationInfMapper extends CustomMapper<StationInf> {
 
    //站点实时数据推送
    List<StationInf> getSystemAll(int userId);
 
    //总机房
    int getStation(int userId);
 
    //查询指定机房信息
    StationInf getSystemSkipStation(int userId, String stationId);
 
    List<StationInf> getStationInfList(int userId);
 
    List<StationInf> getStationMapAndWorkState(int userId);
 
    List<String> getStationName1ByUserId(@Param("userId") Integer userId);
 
    List<String> getStationName2ByUseridAndSt1(@Param("userId") Integer userId, @Param("stationName1") String stationName1);
 
    List<String> getStationName5ByUseridAndSt1AndSt2(@Param("stationName1") String stationName1, @Param("stationName2") String stationName2, @Param("userId") Integer userId);
 
    //穿梭框查询所有的站点
    List<StationInf> searchShuttle(long uId);
 
    List<StationInf> searchStationAll(String stationName1, String stationName2, String stationName5, String nodeStation, String stationType, String uId);
 
    //站点信息
    List<StationInf> getSateAnalysis(int userId);
 
    //找最大的stationid
    String getMaxStationId();
 
    //查询所有的站点电压等级
    List<String> searStationType();
 
    //查询最大的自增标识同一机房的标识
    int getMaxTogetherFlag();
 
    //根据statidonId去查同一机房的标识
    int getTogetherFlag(String stationIdTogether);
 
    //添加关联时下拉显示
    List<StationInf> getTogetherStations(@Param("stationName1") String stationName1, @Param("stationName2") String stationName2, @Param("stationName5") String stationName5);
}