whycxzp
2023-12-20 abf4ce6d752dccb6012f23f7a8d43a5bcd9ac60c
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
package com.whyc.mapper;
 
import com.whyc.pojo.StationInfo;
 
import java.util.List;
 
public interface StationInfoMapper extends CustomMapper<StationInfo>{
    //查询出最大的台站id
    Integer selectMaxId();
 
    //根据机房名称当前机房的机房id
    Integer selectIdByName(String stationName);
 
    //找出根节点是stationName1的所有机房id
    List<StationInfo> selectIdByName1(String stationName1);
 
    //找出根节点是stationName1,stationName2的所有机房id
    List<StationInfo> selectIdByName2(String stationName1, String stationName2);
 
    List<StationInfo> selectIdByName3(String stationName1, String stationName2, String stationName3);
 
    //修改StationName1
    int updateStationName1(String stationName1, String updateName);
 
    //修改StationName2
    int updateStationName2(String stationName1, String stationName2, String updateName);
 
    //修改StationName2
    int updateStationName3(String stationName1, String stationName2, String stationName3, String updateName);
 
    StationInfo getByFileId(String fileId);
 
}