2022-03-03 15:38:21 +08:00

30 lines
669 B
Java

package com.xkrs.service;
import com.xkrs.model.qo.FileQo;
import org.apache.poi.openxml4j.exceptions.InvalidFormatException;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
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;
}