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-04-28 17:44:26 +08:00
|
|
|
|
import com.engine.salary.entity.datacollection.param.AddUpDeductionQueryParam;
|
2022-05-24 15:20:12 +08:00
|
|
|
|
import com.engine.salary.entity.salaryacct.po.SalaryAcctEmployeePO;
|
|
|
|
|
|
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 {
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> list(Map<String, Object> params);
|
|
|
|
|
|
|
2022-03-10 11:09:08 +08:00
|
|
|
|
XSSFWorkbook export(Map<String, Object> params);
|
2022-03-04 10:10:38 +08:00
|
|
|
|
|
|
|
|
|
|
Map<String, Object> getSearchCondition(Map<String, Object> params);
|
2022-03-07 15:08:56 +08:00
|
|
|
|
|
|
|
|
|
|
Map<String, Object> importAddUpDeduction(Map<String, Object> params);
|
2022-03-08 15:40:26 +08:00
|
|
|
|
|
|
|
|
|
|
Map<String, Object> getDetailList(Map<String, Object> params);
|
2022-03-09 16:40:14 +08:00
|
|
|
|
|
|
|
|
|
|
Map<String, Object> preview(Map<String, Object> params);
|
2022-03-10 11:09:08 +08:00
|
|
|
|
|
|
|
|
|
|
XSSFWorkbook exportDetail(Map<String, Object> map);
|
2022-04-11 20:17:47 +08:00
|
|
|
|
|
2022-05-24 15:20:12 +08:00
|
|
|
|
|
|
|
|
|
|
XSSFWorkbook downloadTemplate(AddUpDeductionQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//-----------------------------------分权---------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 通过id获取单条累计专项附加扣除记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param id
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
AddUpDeduction getById(Long id);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 数据采集-累计专项附加扣除列表(分页)
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @param employeeId
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
PageInfo<AddUpDeductionDTO> listPage(AddUpDeductionQueryParam queryParam, Long employeeId);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 获取数据采集-累计专项附加扣除详情列表(分页)
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @param employeeId
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
PageInfo<AddUpDeductionRecordDTO> recordListPage(AddUpDeductionQueryParam queryParam, Long employeeId);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 导出
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param map
|
|
|
|
|
|
* @param username
|
|
|
|
|
|
* @param eteamsId
|
|
|
|
|
|
* @param isChief
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @param employeeId
|
|
|
|
|
|
* @param tenantKey
|
|
|
|
|
|
*/
|
|
|
|
|
|
void export(Map<String, Object> map, String username, String eteamsId, boolean isChief, AddUpDeductionQueryParam queryParam, Long employeeId, String tenantKey);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 导出详情
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param map
|
|
|
|
|
|
* @param username
|
|
|
|
|
|
* @param eteamsId
|
|
|
|
|
|
* @param beLongEmployeeId
|
|
|
|
|
|
* @param isChief
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @param employeeId
|
|
|
|
|
|
* @param tenantKey
|
|
|
|
|
|
*/
|
|
|
|
|
|
void exportDetail(Map<String, Object> map, String username, String eteamsId, Long beLongEmployeeId, boolean isChief, AddUpDeductionQueryParam queryParam, Long employeeId, String tenantKey);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 下载导入模板
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param map
|
|
|
|
|
|
* @param username
|
|
|
|
|
|
* @param eteamsId
|
|
|
|
|
|
* @param isChief
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @param employeeId
|
|
|
|
|
|
* @param tenantKey
|
|
|
|
|
|
*/
|
|
|
|
|
|
void downloadTemplate(Map<String, Object> map, String username, String eteamsId, boolean isChief, AddUpDeductionQueryParam queryParam, Long employeeId, String tenantKey);
|
|
|
|
|
|
|
2022-04-11 20:17:47 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 获取累计专项附加扣除数据
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param declareMonth
|
|
|
|
|
|
* @param employeeIds
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<AddUpDeduction> getAddUpDeductionList(YearMonth declareMonth, List<Long> employeeIds);
|
2022-04-28 17:44:26 +08:00
|
|
|
|
|
2022-05-24 15:20:12 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 根据年月获取已核算数据
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param yearMonth
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<SalaryAcctEmployeePO> getAccountedEmployeeData(String yearMonth);
|
2022-03-03 13:50:03 +08:00
|
|
|
|
}
|