package com.engine.salary.service;

import com.engine.salary.entity.siexport.param.InsuranceExportParam;
import com.engine.salary.entity.siexport.po.AccountExportPO;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;
import java.util.Map;

/**
 * @Author weaver_cl
 * @Description:
 * @Date 2022/4/18
 * @Version V1.0
 **/
public interface SIExportService {

    /**
     * 总览导出
     * @param param
     * @return
     */
    XSSFWorkbook exportOverView(InsuranceExportParam param);

    /**
     * 福利核算导出
     * @param paymentStatus
     * @param param
     * @return
     */
    XSSFWorkbook exportAccount(Integer paymentStatus, InsuranceExportParam param);

    List<Map<String, Object>> buildCommonRecords(List<AccountExportPO> list);
}
