办学质量监测教学评价系统
ageerle
2025-03-07 ea09421b0e42e0f4aaefa307055afc4fb48d7522
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package org.ruoyi.system.service;
 
import jakarta.servlet.http.HttpServletResponse;
import org.ruoyi.common.mybatis.core.page.PageQuery;
import org.ruoyi.common.mybatis.core.page.TableDataInfo;
import org.ruoyi.system.domain.bo.SysOssBo;
import org.ruoyi.system.domain.vo.SysOssVo;
import org.springframework.web.multipart.MultipartFile;
 
import java.io.IOException;
import java.util.Collection;
import java.util.List;
 
/**
 * 文件上传 服务层
 *
 * @author Lion Li
 */
public interface ISysOssService {
 
    TableDataInfo<SysOssVo> queryPageList(SysOssBo sysOss, PageQuery pageQuery);
 
    List<SysOssVo> listByIds(Collection<Long> ossIds);
 
    SysOssVo getById(Long ossId);
 
    SysOssVo upload(MultipartFile file);
 
    void download(Long ossId, HttpServletResponse response) throws IOException;
 
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
 
}