VppArchiveService.java 1015 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.usky.vpp.service;
  2. import com.usky.common.core.bean.CommonPage;
  3. import com.usky.vpp.service.vo.VppFileArchiveRequestVO;
  4. import com.usky.vpp.service.vo.VppFileArchiveResponseVO;
  5. import javax.servlet.http.HttpServletResponse;
  6. import java.util.List;
  7. import java.util.Map;
  8. /**
  9. * VppArchiveService 业务接口
  10. */
  11. public interface VppArchiveService {
  12. default Object stub(String action, Map<String, Object> params) {
  13. return null;
  14. }
  15. Boolean create(VppFileArchiveRequestVO vo);
  16. CommonPage<VppFileArchiveResponseVO> page(Long id, String archiveName, Integer archiveType, Long siteId, String bizType, Long bizId, Integer pageNum, Integer pageSize);
  17. Boolean upload(VppFileArchiveRequestVO vo);
  18. Boolean delete(Long id);
  19. /**
  20. * 批量导出电子档案,根据主键ID列表下载文件并打包为ZIP
  21. * @param ids 主键ID列表
  22. * @return ResponseEntity 包装的 ZIP 字节数组
  23. */
  24. void export(List<Long> ids, HttpServletResponse response);
  25. }