package com.gz.service.archive; import com.github.pagehelper.PageInfo; import com.gz.core.exception.BusinessException; import com.gz.dto.system.ArchiveFileDTO; import com.gz.rvo.archive.ArchiveFileRVO; import com.gz.vo.archive.SearchArchiveFileVO; import org.springframework.web.multipart.MultipartFile; import java.io.IOException; import java.util.List; public interface ArchiveFileService { /** * @description 上传文件 * @author LiuChangLan * @since 2020/9/9 11:25 * @return */ ArchiveFileDTO upload(MultipartFile files,Integer archiveId, Integer fileType,Integer secondaryArchiveId) throws BusinessException, IOException; void downloadAll(Integer archiveId); /** * @description 删除附件 * @author LiuChangLan * @since 2021/2/25 17:09 */ Integer delete(Integer id); /** * @description 查询分页列表 * @author LiuChangLan * @since 2021/2/25 17:09 * @param vo */ PageInfo selectByPage(SearchArchiveFileVO vo); /** * @description 查询档案文件 * @author LiuChangLan * @since 2021/3/11 12:24 */ List selectByArchiveId(SearchArchiveFileVO vo); }