提交 | 用户 | 时间
|
722af2
|
1 |
package com.dl.system.service; |
X |
2 |
|
|
3 |
import com.dl.common.core.domain.PageQuery; |
|
4 |
import com.dl.common.core.page.TableDataInfo; |
|
5 |
import com.dl.system.domain.bo.SysOssBo; |
|
6 |
import com.dl.system.domain.vo.SysOssVo; |
|
7 |
import org.springframework.web.multipart.MultipartFile; |
|
8 |
|
|
9 |
import javax.servlet.http.HttpServletResponse; |
|
10 |
import java.io.IOException; |
|
11 |
import java.util.Collection; |
|
12 |
import java.util.List; |
|
13 |
|
|
14 |
/** |
|
15 |
* 文件上传 服务层 |
|
16 |
* |
|
17 |
* @author Lion Li |
|
18 |
*/ |
|
19 |
public interface ISysOssService { |
|
20 |
|
|
21 |
TableDataInfo<SysOssVo> queryPageList(SysOssBo sysOss, PageQuery pageQuery); |
|
22 |
|
|
23 |
List<SysOssVo> listByIds(Collection<Long> ossIds); |
|
24 |
|
|
25 |
SysOssVo getById(Long ossId); |
|
26 |
|
|
27 |
SysOssVo upload(MultipartFile file); |
|
28 |
|
|
29 |
void download(Long ossId, HttpServletResponse response) throws IOException; |
|
30 |
|
|
31 |
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid); |
|
32 |
|
|
33 |
} |