package com.engine.salary.service;

import com.engine.salary.entity.taxagent.param.TaxAgentImportParam;
import com.engine.salary.entity.taxagent.param.TaxAgentRangeDownloadTemplateParam;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.Map;

/**
 * @author Harryxzy
 * @date 2023/01/05 15:10
 * @description
 */
public interface TaxAgentExcelService {

    /**
     * 下载导入模板
     *
     * @param downloadTemplateParam
     * @param currentEmployeeId
     */
    XSSFWorkbook downloadTemplateRange(TaxAgentRangeDownloadTemplateParam downloadTemplateParam, int currentEmployeeId);

    /**
     * 预览
     * @param taxAgentImportParam
     * @return
     */
    Map<String, Object> preview(TaxAgentImportParam taxAgentImportParam);
}
