package com.hz.employmentsite.services.service.system; import com.hz.employmentsite.model.CfFile; import com.hz.employmentsite.vo.system.FileModel; import org.springframework.core.io.Resource; import org.springframework.http.ResponseEntity; import org.springframework.web.multipart.MultipartFile; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.util.List; public interface FileService { List getList(String fileRefID); CfFile getFileByID(String fileID); Integer saveFile(MultipartFile[] files, String fileRefID, Integer fileType, String userId, Integer isSingle) throws Exception; CfFile downFtpFile(String fileId, OutputStream os); void downloadTempFile(String fileName, OutputStream os) throws FileNotFoundException; ResponseEntity downloadApk() throws IOException; Integer delete(String fileId) throws IOException; String downFtpFileToLocal(String fileId); }