package com.xkrs.service; import com.xkrs.model.qo.FileQo; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.springframework.web.multipart.MultipartFile; import java.io.IOException; /** * @Author: XinYi Song * @Date: 2022/1/20 15:24 */ public interface FileService { /** * 添加模板信息 * * @param fileQo * @return */ String insertFileExcel(FileQo fileQo, MultipartFile fileExcel) throws IOException; /** * 导出excel * * @param fileQo * @return */ String exportExcel(FileQo fileQo) throws IOException, InvalidFormatException; }