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

143 lines
3.6 KiB
Java
Raw Normal View History

2022-03-03 13:50:03 +08:00
package com.engine.salary.service;
2022-04-11 20:17:47 +08:00
import com.engine.salary.entity.datacollection.AddUpDeduction;
2022-05-24 15:20:12 +08:00
import com.engine.salary.entity.datacollection.dto.AddUpDeductionDTO;
import com.engine.salary.entity.datacollection.dto.AddUpDeductionRecordDTO;
2022-05-27 14:46:01 +08:00
import com.engine.salary.entity.datacollection.param.AddUpDeductionImportParam;
2022-04-28 17:44:26 +08:00
import com.engine.salary.entity.datacollection.param.AddUpDeductionQueryParam;
2022-10-26 18:35:23 +08:00
import com.engine.salary.entity.datacollection.param.AddUpDeductionRecordDeleteParam;
import com.engine.salary.entity.datacollection.param.AddUpDeductionRecordParam;
2022-05-25 16:51:43 +08:00
import com.engine.salary.entity.salaryacct.po.SalaryAcctEmployeePO;
2022-05-24 15:20:12 +08:00
import com.engine.salary.util.page.PageInfo;
2022-03-10 11:09:08 +08:00
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
2022-03-04 10:10:38 +08:00
2022-04-11 20:17:47 +08:00
import java.time.YearMonth;
import java.util.List;
2022-03-03 13:50:03 +08:00
import java.util.Map;
public interface AddUpDeductionService {
2022-08-26 14:06:21 +08:00
/**
* 查询条件
* @param params
* @return
*/
2022-03-04 10:10:38 +08:00
Map<String, Object> getSearchCondition(Map<String, Object> params);
2022-03-07 15:08:56 +08:00
2022-08-26 14:06:21 +08:00
/**
* 导入
* @param importParam
* @return
*/
2022-05-27 14:51:53 +08:00
Map<String, Object> importAddUpDeduction(AddUpDeductionImportParam importParam);
2022-03-08 15:40:26 +08:00
2022-03-09 16:40:14 +08:00
2022-08-26 14:06:21 +08:00
/**
* 预览
* @param importParam
* @return
*/
2022-05-27 14:46:01 +08:00
Map<String, Object> preview(AddUpDeductionImportParam importParam );
2022-03-10 11:09:08 +08:00
2022-05-24 15:20:12 +08:00
2022-08-26 14:06:21 +08:00
/**
* 下载模板
* @param isChief
* @param queryParam
* @return
*/
2022-05-25 16:51:43 +08:00
XSSFWorkbook downloadTemplate(boolean isChief,AddUpDeductionQueryParam queryParam);
2022-05-24 15:20:12 +08:00
/**
* 通过id获取单条累计专项附加扣除记录
*
* @param id
* @return
*/
AddUpDeduction getById(Long id);
/**
* 数据采集-累计专项附加扣除列表(分页)
*
* @param queryParam
* @return
*/
2022-05-25 16:51:43 +08:00
PageInfo<AddUpDeductionDTO> listPage(AddUpDeductionQueryParam queryParam);
2022-05-24 15:20:12 +08:00
/**
* 获取数据采集-累计专项附加扣除详情列表分页
*
* @param queryParam
* @return
*/
2022-05-25 16:51:43 +08:00
PageInfo<AddUpDeductionRecordDTO> recordListPage(AddUpDeductionQueryParam queryParam);
2022-05-24 15:20:12 +08:00
/**
* 导出
*
* @param isChief
* @param queryParam
*/
2022-05-25 13:49:25 +08:00
XSSFWorkbook export(boolean isChief, AddUpDeductionQueryParam queryParam);
2022-05-24 15:20:12 +08:00
/**
* 导出详情
*
* @param beLongEmployeeId
* @param isChief
* @param queryParam
*/
2022-05-25 13:49:25 +08:00
XSSFWorkbook exportDetail(Long beLongEmployeeId, boolean isChief, AddUpDeductionQueryParam queryParam);
2022-05-24 15:20:12 +08:00
2022-04-11 20:17:47 +08:00
/**
* 获取累计专项附加扣除数据
*
* @param declareMonth
* @param employeeIds
* @return
*/
List<AddUpDeduction> getAddUpDeductionList(YearMonth declareMonth, List<Long> employeeIds, Long taxAgentId);
2022-04-28 17:44:26 +08:00
2022-05-24 15:20:12 +08:00
/**
* 根据年月获取已核算数据
*
* @param yearMonth
* @return
*/
2022-05-25 16:51:43 +08:00
List<SalaryAcctEmployeePO> getAccountedEmployeeData(String yearMonth);
2022-10-26 18:35:23 +08:00
/**
* @description 编辑累计专项附加扣除
* @return void
* @author Harryxzy
* @date 2022/10/25 14:09
*/
void editAddUpDeduction(AddUpDeductionRecordParam addUpDeduction);
/**
* @description 累计专项附加扣除
* @return void
* @author Harryxzy
* @date 2022/10/26 14:24
*/
void createAddUpDeduction(AddUpDeductionRecordParam addUpDeductionRecordParam);
/**
* @description 删除所选
* @return void
* @author Harryxzy
* @date 2022/10/26 16:34
*/
void deleteSelectAddUpDeduction(AddUpDeductionRecordDeleteParam deleteParam);
/**
* @description 一键清空
* @return void
* @author Harryxzy
* @date 2022/10/26 16:35
*/
void deleteAllAddUpDeduction(String declareMonthStr);
2022-03-03 13:50:03 +08:00
}