public interface FileService
extends com.baomidou.mybatisplus.extension.service.IService<club.gclmit.chaos.storage.properties.FileInfo>
文件服务类
| 限定符和类型 | 方法和说明 |
|---|---|
void |
batchDeleteStatusByKey(List<String> keys)
根据OSS keys 批量删除文件
|
void |
batchUpdateStatusByKey(List<String> keys)
根据OSS keys 批量修改文件状态
|
void |
deleteStatusByKey(String key)
根据OSS key 删除文件
|
List<club.gclmit.chaos.storage.properties.FileInfo> |
linkQueryFileName(String fileName)
根据文件名字模糊查询
|
List<club.gclmit.chaos.storage.properties.FileInfo> |
linkQueryKey(String key)
根据OSS key 模糊查询
|
List<club.gclmit.chaos.storage.properties.FileInfo> |
queryFileSizeBetween(Long startSize,
Long endSize)
根据文件大小区间查询
|
club.gclmit.chaos.storage.properties.FileInfo |
queryKey(String key)
根据OSS key 查询
|
club.gclmit.chaos.storage.properties.FileInfo |
queryMD5(String md5)
根据文件 MD5 判断文件是否存在
|
void |
updateStatusByKey(String key)
根据OSS key 修改文件状态
|
club.gclmit.chaos.storage.properties.FileInfo |
uploadFile(org.springframework.web.multipart.MultipartFile file)
上传文件到 OSS中
|
count, count, getBaseMapper, getById, getMap, getObj, getOne, getOne, lambdaQuery, lambdaUpdate, list, list, listByIds, listByMap, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, update, update, updateBatchById, updateBatchById, updateByIdclub.gclmit.chaos.storage.properties.FileInfo uploadFile(org.springframework.web.multipart.MultipartFile file)
club.gclmit.chaos.storage.properties.FileInfo queryMD5(String md5)
club.gclmit.chaos.storage.properties.FileInfo queryKey(String key)
void updateStatusByKey(String key)
void deleteStatusByKey(String key)
List<club.gclmit.chaos.storage.properties.FileInfo> linkQueryKey(String key)
List<club.gclmit.chaos.storage.properties.FileInfo> linkQueryFileName(String fileName)
Copyright © 2020. All rights reserved.