| | |
| | | |
| | | 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); |
| | | |
| | | } |