package com.ruoyi.other.service; import com.ruoyi.other.pojo.TempFile; import org.springframework.web.multipart.MultipartFile; import java.io.IOException; import java.util.List; public interface TempFileService { TempFile uploadFile(MultipartFile file,Integer type) throws IOException; String uploadByCommon(MultipartFile file, Integer type, Long id) throws IOException; void migrateTempFilesToFormal(Long businessId, List tempFileIds, Integer fileType) throws IOException; }