whyclxw
2025-03-31 b46f7fa6d77852ae9e28a062da234a2ddf9405fb
src/main/java/com/whyc/mapper/StationInfoMapper.java
@@ -2,7 +2,32 @@
import com.whyc.pojo.StationInfo;
import java.util.List;
public interface StationInfoMapper extends CustomMapper<StationInfo>{
    //查询出最大的台站id
    int selectMaxId();
    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);
}