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();
|
|
|
|
|
|
|
2024-09-13 13:32:01 +08:00
|
|
|
|
List<LySalaryReportPO> listByIds(List<Long> ids);
|
|
|
|
|
|
|
2024-08-28 17:42:16 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 根据主键查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @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);
|
|
|
|
|
|
|
2025-03-20 15:31:38 +08:00
|
|
|
|
List<Long> getCanManageSubCompanyIdsByUid(Long uid);
|
|
|
|
|
|
|
2025-02-21 16:50:16 +08:00
|
|
|
|
Map<String, Object> salaryReportFfgsList(LySalaryReportQueryParam param);
|
2024-09-13 14:27:11 +08:00
|
|
|
|
|
2024-08-28 17:42:16 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 根据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-09-04 16:15:01 +08:00
|
|
|
|
|
|
|
|
|
|
List<LySalaryReportPO> getByIds(List<Long> ids);
|
2025-01-24 13:53:31 +08:00
|
|
|
|
|
|
|
|
|
|
void deleteAllSalaryReport(LySalaryReportQueryParam queryParam);
|
2025-04-08 11:33:58 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 领悦 发放表
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
Map<String, Object> listLyFfReport(LySalaryReportQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> ffReportSum(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
XSSFWorkbook exportFfReport(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 领悦 报税表
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
Map<String, Object> listLyBsReport(LySalaryReportQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> bsReportSum(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
XSSFWorkbook exportBsReport(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 领悦 薪酬统计报表(部门)
|
|
|
|
|
|
* @param queryParam
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
Map<String, Object> listSalaryDepartmentReport(LySalaryReportQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
Map<String, Object> salaryDepartmentReportSum(LySalaryReportQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
|
XSSFWorkbook exportSalaryDepartmentReport(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
List<Map<String, Object>> listAllFfgs();
|
|
|
|
|
|
|
|
|
|
|
|
void generateDbhzSbReport(String salaryMonth);
|
|
|
|
|
|
|
|
|
|
|
|
void generateDbhzGjjReport(String salaryMonth);
|
|
|
|
|
|
|
|
|
|
|
|
void generateCymxSbReport(String salaryMonth);
|
|
|
|
|
|
|
|
|
|
|
|
void generateCymxGjjReport(String salaryMonth);
|
2025-04-18 14:22:40 +08:00
|
|
|
|
|
|
|
|
|
|
void deleteByIds(List<Long> needDeleteIds);
|
2024-08-28 17:42:16 +08:00
|
|
|
|
}
|