1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.whyc.mapper;
|
| import com.whyc.pojo.FileInfo;
|
| import java.util.List;
|
| public interface FileInfoMapper extends CustomMapper<FileInfo>{
|
| //查询出最大文件id
| int selectMaxId();
|
| //查出文件对应的文件id
| Integer selectFileId(int stationId, String filePath);
|
| //删除机房下文件信息(stationId,fileId)
| int deleteFileInStation(int stationId, int fileId);
|
| //查询出机房下所有的文件fileIds
| List<Integer> selectListFiles(int stationId);
| }
|
|