2024-08-28 17:42:16 +08:00
|
|
|
|
package com.engine.salary.service;
|
|
|
|
|
|
|
|
|
|
|
|
import com.engine.salary.entity.ly.param.LySalaryReportQueryParam;
|
|
|
|
|
|
import com.engine.salary.entity.ly.po.LySalaryReportPO;
|
|
|
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
2024-08-30 10:28:44 +08:00
|
|
|
|
import weaver.hrm.User;
|
2024-08-28 17:42:16 +08:00
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @author Harryxzy
|
|
|
|
|
|
* @ClassName LySalaryReportService
|
|
|
|
|
|
* @date 2024/08/21 16:41
|
|
|
|
|
|
* @description 领悦 薪资报表
|
|
|
|
|
|
*/
|
|
|
|
|
|
public interface LySalaryReportService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询所有记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @return 返回集合,没有返回空List
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<LySalaryReportPO> listAll();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 根据主键查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param id 主键
|
|
|
|
|
|
* @return 返回记录,没有返回null
|
|
|
|
|
|
*/
|
|
|
|
|
|
LySalaryReportPO getById(Long id);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 新增,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySalaryReport 新增的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int insertIgnoreNull(LySalaryReportPO lySalaryReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,修改所有字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySalaryReport 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int update(LySalaryReportPO lySalaryReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySalaryReport 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int updateIgnoreNull(LySalaryReportPO lySalaryReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 删除记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySalaryReport 待删除的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int delete(LySalaryReportPO lySalaryReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 生成报表数据
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
*/
|
|
|
|
|
|
void generateSalaryReport(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 获取列表数据
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
Map<String, Object> listSalaryReport(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 根据id删除报表数据
|
|
|
|
|
|
* @param salaryReportIds
|
|
|
|
|
|
*/
|
|
|
|
|
|
void deleteSalaryReport(List<Long> salaryReportIds);
|
|
|
|
|
|
|
|
|
|
|
|
LySalaryReportPO sumRow(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 导出薪酬统计报表
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
XSSFWorkbook exportSalaryReport(LySalaryReportQueryParam param);
|
2024-08-30 10:28:44 +08:00
|
|
|
|
|
|
|
|
|
|
Boolean lyReportPermission(User user);
|
|
|
|
|
|
|
|
|
|
|
|
List<String> getCanManageFrztByUid(User user);
|
2024-08-28 17:42:16 +08:00
|
|
|
|
}
|