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

128 lines
3.8 KiB
Java
Raw Normal View History

2022-03-15 09:34:53 +08:00
package com.engine.salary.service;
import com.engine.salary.entity.siarchives.dto.InsuranceArchivesBaseHistoryDTO;
2022-03-18 18:00:51 +08:00
import com.engine.salary.entity.siarchives.param.InsuranceArchivesListParam;
import com.engine.salary.entity.siarchives.param.InsuranceArchivesSaveParam;
import com.engine.salary.entity.siarchives.param.SIArchiveBaseHistoryListParam;
import com.engine.salary.entity.siarchives.po.InsuranceArchivesBaseInfoPO;
2022-04-19 17:46:24 +08:00
import com.engine.salary.entity.siarchives.po.InsuranceArchivesEmployeePO;
import com.engine.salary.util.page.PageInfo;
2022-04-19 17:46:24 +08:00
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import java.util.Collection;
2022-04-19 17:46:24 +08:00
import java.util.List;
2022-03-15 09:34:53 +08:00
import java.util.Map;
/**
* @Author weaver_cl
2022-07-13 11:45:16 +08:00
*
2022-03-15 09:34:53 +08:00
* @Date 2022/3/11
* @Version V1.0
**/
public interface SIArchivesService {
Map<String, Object> getTips(Map<String, Object> params);
Map<String, Object> getBaseForm(Map<String, Object> params);
2022-03-16 17:04:21 +08:00
Map<String, Object> getPaymentForm(Map<String, Object> params);
String insert(InsuranceArchivesSaveParam param);
2022-03-18 18:00:51 +08:00
Map<String, Object> listPage(InsuranceArchivesListParam insuranceArchivesListParam);
2022-03-22 19:47:46 +08:00
Map<String,Object> getSearchCondition(Map<String, Object> stringObjectMap);
2022-04-19 17:46:24 +08:00
/**
* 根据高级搜索框或者员工id集合导出档案
*
* @param param 请求报文
* @return map
*/
XSSFWorkbook export(InsuranceArchivesListParam param);
/**
* 获取员工的基本信息
* <p>
* 此处主要是一个公共接口有多处引用我们薪资系统只保存员工idemployeeId
* 但是页面上需要展示员工的更多信息姓名部门状态
* 所以这里主要是用于接收联表数据的一个接口
*
* @param param 高级搜索条件用于过滤数据
* @return list
*/
List<InsuranceArchivesEmployeePO> listPageEmployeePOS(InsuranceArchivesListParam param);
/**
* 获取福利档案各tab总人数
*/
Map<String, Long> queryInsuranceTabTotal();
/**
* 批量变更档案列表的runStatus
*/
void updateRunStatus(InsuranceArchivesBaseInfoPO po);
/**
* 批量取消停缴
*/
void cancelStopPayment(Collection<Long> ids);
/**
* 批量减员
*/
Map<String, Object> stayDelToStop(Collection<Long> ids);
/**
* 批量减员直接减员并给予最后缴纳月
*/
Map<String, Object> stopWithoutLimit(Collection<Long> ids, String yearMonth);
/**
* 全量减员
*/
Map<String, Object> allStayDelToStop();
/**
* 全量增员
*/
Map<String, Object> allStayAddToPay();
/**
* 批量增员
*/
Map<String, Object> stayAddToPay(Collection<Long> ids);
/**
* 拷贝福利档案到新的个税扣缴义务人并置为在缴
* @param toCopyTaxAgentId 被拷贝的福利档案所属个税扣缴义务人id
* @param toUpdateTaxAgentId 被更新的福利档案所属个税扣缴义务人id
* @param employeeId 福利档案所属人员id
* @return
*/
Map<String, Object> copyToPay(Long toCopyTaxAgentId, Long toUpdateTaxAgentId, Long employeeId, String payStartYearMonth);
/**
* 待减员页面的删除待办
*/
void cancelStayDel(InsuranceArchivesBaseInfoPO insuranceArchivesBaseInfoPO);
/**
* 处理福利档案增量数据
*/
void handleChangeData(long currentEmployeeId);
2023-06-29 10:35:55 +08:00
/**
* 删除档案
* @param longs
*/
void deleteArchive(Collection<Long> longs);
void handleStayDelData(long currentEmployeeId);
PageInfo<InsuranceArchivesBaseHistoryDTO> getAdjustHistoryList(SIArchiveBaseHistoryListParam param);
PageInfo<InsuranceArchivesBaseHistoryDTO> historyListByEmployeeIdAndOperator(SIArchiveBaseHistoryListParam param);
2022-03-15 09:34:53 +08:00
}