package com.engine.salary.service; import com.engine.salary.entity.datacollection.dto.OtherDeductionListDTO; import com.engine.salary.entity.datacollection.dto.OtherDeductionRecordDTO; import com.engine.salary.entity.datacollection.param.OtherDeductionImportParam; import com.engine.salary.entity.datacollection.param.OtherDeductionQueryParam; import com.engine.salary.entity.datacollection.po.OtherDeductionPO; import com.engine.salary.util.page.PageInfo; import org.apache.poi.xssf.usermodel.XSSFWorkbook; import java.time.YearMonth; import java.util.List; import java.util.Map; /** * 数据采集-其他免税扣除 *

Copyright: Copyright (c) 2022

*

Company: 泛微软件

* * @author qiantao * @version 1.0 **/ public interface OtherDeductionService { /** * 通过id获取单条其他免税扣除记录 * * @param id * @return */ OtherDeductionPO getById(Long id); /** * 数据采集-其他免税扣除列表 * * @param queryParam * @return */ PageInfo listPage(OtherDeductionQueryParam queryParam); /** * 获取数据采集-其他免税扣除详情 * * @param queryParam * @return */ PageInfo recordListPage(OtherDeductionQueryParam queryParam); /** * 导出 * */ XSSFWorkbook export(OtherDeductionQueryParam queryParam); /** * 导出详情 * */ XSSFWorkbook exportDetail( OtherDeductionQueryParam queryParam); /** * 下载导入模板 * * @param param * @return */ XSSFWorkbook downloadTemplate(OtherDeductionQueryParam param); /** * 预览 */ Map preview(OtherDeductionImportParam importParam); /** * 导入数据 */ Map importData(OtherDeductionImportParam importParam); /** * 获取其他免税扣除数据 * * @param declareMonth * @param employeeIds * @return */ List getOtherDeductionList(YearMonth declareMonth, List employeeIds); }