You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
|
|
|
|
package com.spring.modules.oss.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.spring.common.utils.PageUtils;
|
|
import com.spring.modules.oss.entity.SysOssEntity;
|
|
import com.spring.modules.oss.vo.SysOssEntityData;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* 文件上传
|
|
*
|
|
*
|
|
*/
|
|
public interface SysOssService extends IService<SysOssEntity> {
|
|
|
|
PageUtils queryPage(Map<String, Object> params);
|
|
|
|
/**
|
|
* @Method getSysOssEntityList
|
|
* @Description: 根据条件 获取文件信息
|
|
* @author zuowenwen
|
|
* @Version 1.0
|
|
* @param sysOssEntityData
|
|
* @return List<SysOssEntityData>
|
|
* @throws
|
|
* @date 2021/11/2 15:20
|
|
*/
|
|
List<SysOssEntityData> getSysOssEntityList(SysOssEntityData sysOssEntityData);
|
|
|
|
/**
|
|
* @Author sxm
|
|
* @Description 修改文件关联信息
|
|
* @Date 2022/4/12 10:12
|
|
* @Param
|
|
* @return
|
|
**/
|
|
void updateOssRef(SysOssEntity sysOssEntity);
|
|
|
|
void upload(List<MultipartFile> files, SysOssEntity oss);
|
|
|
|
void removeOssFile(List<Integer> ids);
|
|
|
|
List<SysOssEntity> queryOssFile(SysOssEntity oss);
|
|
|
|
void previewOssFileById(Integer id,HttpServletResponse response);
|
|
|
|
void upgradeOssFile(MultipartFile file, Long sourceId, String fileRemark);
|
|
}
|