| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- 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;
- /**
- * @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<ArchiveFileRVO> selectByPage(SearchArchiveFileVO vo);
- /**
- * @description 查询档案文件
- * @author LiuChangLan
- * @since 2021/3/11 12:24
- */
- List<ArchiveFileRVO> selectByArchiveId(SearchArchiveFileVO vo);
- }
|