package com.engine.salary.service;

import com.engine.salary.entity.salaryarchive.param.SalaryArchiveImportActionParam;
import com.engine.salary.entity.salaryarchive.param.SalaryArchiveImportHandleParam;
import com.engine.salary.entity.salaryarchive.param.SalaryArchiveQueryParam;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.Map;

/**
 * 薪资档案-导入导出
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
public interface SalaryArchiveExcelService {

    /**
     * 导出薪资档案列表
     *
     * @param map
     * @param queryParam
     * @param employeeId
     * @param tenantKey
     */
//    XSSFWorkbook exportList(Map<String, Object> map, SalaryArchiveQueryParam queryParam, Long employeeId, String tenantKey);

    /**
     * 下载导入模板
     *
     * @param queryParam
     */
    XSSFWorkbook downloadTemplate(SalaryArchiveQueryParam queryParam);

    /**
     * 导入
     * @param param
     * @return
     */
    Map<String, Object> batchImportEbatch(SalaryArchiveImportHandleParam param);

    /**
     * 流程初始化档案
     * @param param
     * @return
     */
    Map<String, Object> processInit(SalaryArchiveImportActionParam param);
}
