weaver-hrm-salary/src/com/engine/salary/service/OtherDeductionService.java

128 lines
2.9 KiB
Java
Raw Normal View History

2022-03-10 17:57:46 +08:00
package com.engine.salary.service;
2022-05-31 09:58:35 +08:00
import com.engine.salary.entity.datacollection.dto.OtherDeductionListDTO;
import com.engine.salary.entity.datacollection.dto.OtherDeductionRecordDTO;
import com.engine.salary.entity.datacollection.param.*;
2022-04-11 20:17:47 +08:00
import com.engine.salary.entity.datacollection.po.OtherDeductionPO;
2022-05-31 09:58:35 +08:00
import com.engine.salary.util.page.PageInfo;
2022-03-10 17:57:46 +08:00
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
2022-04-11 20:17:47 +08:00
import java.time.YearMonth;
import java.util.List;
2022-03-10 17:57:46 +08:00
import java.util.Map;
/**
* 数据采集-其他免税扣除
* <p>Copyright: Copyright (c) 2022</p>
* <p>Company: 泛微软件</p>
*
* @author qiantao
* @version 1.0
**/
public interface OtherDeductionService {
/**
2022-05-31 09:58:35 +08:00
* 通过id获取单条其他免税扣除记录
*
* @param id
* @return
2022-03-10 17:57:46 +08:00
*/
2022-05-31 09:58:35 +08:00
OtherDeductionPO getById(Long id);
2022-03-10 17:57:46 +08:00
/**
* 数据采集-其他免税扣除列表
2022-05-31 09:58:35 +08:00
*
* @param queryParam
* @return
2022-03-10 17:57:46 +08:00
*/
2022-05-31 09:58:35 +08:00
PageInfo<OtherDeductionListDTO> listPage(OtherDeductionQueryParam queryParam);
2022-03-10 17:57:46 +08:00
/**
2022-05-31 09:58:35 +08:00
* 获取数据采集-其他免税扣除详情
*
* @param queryParam
* @return
2022-03-10 17:57:46 +08:00
*/
2022-05-31 09:58:35 +08:00
PageInfo<OtherDeductionRecordDTO> recordListPage(OtherDeductionQueryParam queryParam);
/**
* 导出
*
*/
XSSFWorkbook export(OtherDeductionQueryParam queryParam);
/**
* 导出详情
*
*/
XSSFWorkbook exportDetail( OtherDeductionQueryParam queryParam);
/**
* 下载导入模板
*
* @param param
* @return
*/
XSSFWorkbook downloadTemplate(OtherDeductionQueryParam param);
2022-03-10 17:57:46 +08:00
2024-12-19 09:53:56 +08:00
/**
* 下载明细模板
* @param param
* @return
*/
XSSFWorkbook downloadDetailTemplate(OtherDeductionQueryParam param);
2022-03-10 17:57:46 +08:00
/**
* 预览
*/
2022-05-31 11:21:51 +08:00
Map<String, Object> preview(OtherDeductionImportParam importParam);
2022-03-10 17:57:46 +08:00
/**
* 导入数据
*/
2022-05-31 09:58:35 +08:00
Map<String, Object> importData(OtherDeductionImportParam importParam);
2022-03-10 17:57:46 +08:00
2024-12-19 09:53:56 +08:00
/**
* 导入明细数据
* @param importParam
* @return
*/
Map<String, Object> importDetailData(OtherDeductionImportParam importParam);
2022-03-10 17:57:46 +08:00
/**
2022-05-31 09:58:35 +08:00
* 获取其他免税扣除数据
*
* @param declareMonth
* @param employeeIds
* @return
2022-03-10 17:57:46 +08:00
*/
List<OtherDeductionPO> getOtherDeductionList(YearMonth declareMonth, List<Long> employeeIds, Long taxAgentId);
2022-03-10 17:57:46 +08:00
2022-10-26 18:35:23 +08:00
/**
* 编辑数据
*/
void editData(OtherDeductionParam otherDeductionParam);
/**
* 新增数据
*/
void createData(OtherDeductionParam otherDeductionParam);
/**
* 删除所选数据
*/
void deleteSelectData(AddUpDeductionRecordDeleteParam deleteParam);
/**
* 一键清空数据
*/
void deleteAllData(AddUpDeductionRecordDeleteParam deleteParam);
2022-10-31 14:50:54 +08:00
/**
* 获取数据
*/
OtherDeductionRecordDTO getOtherDeduction(OtherDeductionParam otherDeductionParam);
String extendToLastMonth(OtherDeductionExtendLastParam param);
2022-03-10 17:57:46 +08:00
}