package com.example.fms.service; import org.springframework.transaction.annotation.Transactional; import org.springframework.web.multipart.MultipartFile; import java.util.List; /** * @Author xiexiang * @Date 2023/6/7 */ public interface IFileManagerService { /** * 上传系统文件 * * @param files * @param sourceId */ @Transactional void add(List files, Integer sourceId); /** * 删除系统文件 * * @param ids * @param type */ @Transactional void delete(List ids, Integer type); /** * 下载系统文件 * * @param fileName * @param savePath * @param sourceId */ void download(String fileName, String savePath, Integer sourceId); }