package com.yd.oss.service.service;

import com.aliyun.oss.OSS;
import com.yd.oss.service.model.OssProvider;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.File;
import java.io.IOException;

public interface ExcelService {

    File downloadTemplateToTempFile(String ossObjectKey, OSS ossClient, OssProvider provider) throws IOException;

    File saveWorkbookToTempFile(Workbook workbook) throws IOException;
}
