2024-08-09 10:21:40 +08:00
|
|
|
|
package com.engine.salary.service;
|
|
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.dto.VariableArchiveListDTO;
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.dto.VariableItemListDTO;
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.param.VariableArchiveImportHandleParam;
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.param.VariableArchiveQueryParam;
|
|
|
|
|
|
import com.engine.salary.entity.datacollection.param.VariableArchiveSaveParam;
|
2024-08-16 14:04:20 +08:00
|
|
|
|
import com.engine.salary.util.excel.ExcelPreviewDTO;
|
2024-08-09 10:21:40 +08:00
|
|
|
|
import com.engine.salary.util.page.PageInfo;
|
|
|
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
|
|
|
|
|
|
|
|
|
import java.time.YearMonth;
|
|
|
|
|
|
import java.util.Collection;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 数据采集-浮动薪酬
|
|
|
|
|
|
* <p>Copyright: Copyright (c) 2022</p>
|
|
|
|
|
|
* <p>Company: 泛微软件</p>
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author xzy
|
|
|
|
|
|
* @version 1.0
|
|
|
|
|
|
**/
|
|
|
|
|
|
public interface VariableArchiveService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询浮动薪酬档案(分页)
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
PageInfo<VariableArchiveListDTO> listPage(VariableArchiveQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
List<VariableArchiveListDTO> list(VariableArchiveQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 构建浮动薪资档案数据
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param variableArchives
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
2024-10-14 15:05:22 +08:00
|
|
|
|
List<Map<String, Object>> buildVariableArchiveData(List<VariableArchiveListDTO> variableArchives);
|
2024-08-09 10:21:40 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 创建浮动薪酬档案
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param saveParam
|
|
|
|
|
|
*/
|
|
|
|
|
|
void createData(VariableArchiveSaveParam saveParam);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 浮动薪资档案明细
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
Map<String, Object> getDetail(VariableArchiveQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
List<VariableItemListDTO> getCreateForm();
|
|
|
|
|
|
|
|
|
|
|
|
XSSFWorkbook downloadTemplate(VariableArchiveQueryParam param);
|
|
|
|
|
|
|
2024-08-16 14:04:20 +08:00
|
|
|
|
ExcelPreviewDTO preview(VariableArchiveImportHandleParam importParam);
|
2024-08-09 10:21:40 +08:00
|
|
|
|
|
|
|
|
|
|
Map<String, Object> importData(VariableArchiveImportHandleParam importParam);
|
|
|
|
|
|
|
|
|
|
|
|
XSSFWorkbook export(VariableArchiveQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
void deleteSelectVariableArchive(Collection<Long> deleteIds);
|
|
|
|
|
|
|
2024-08-12 16:36:27 +08:00
|
|
|
|
List<Map<String, Object>> listBySalaryMonthAndEmployeeIds(YearMonth salaryMonth, List<Long> employeeIds, Long taxAgentId);
|
2024-10-14 10:38:30 +08:00
|
|
|
|
|
|
|
|
|
|
void updateData(VariableArchiveSaveParam updateParam);
|
2024-08-09 10:21:40 +08:00
|
|
|
|
}
|