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

174 lines
4.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
import weaver.hrm.User;
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();
List<LySalaryReportPO> listByIds(List<Long> ids);
/**
* 根据主键查询
*
* @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);
List<Long> getCanManageSubCompanyIdsByUid(Long uid);
Map<String, Object> salaryReportFfgsList(LySalaryReportQueryParam param);
/**
* 根据id删除报表数据
* @param salaryReportIds
*/
void deleteSalaryReport(List<Long> salaryReportIds);
LySalaryReportPO sumRow(LySalaryReportQueryParam param);
/**
* 导出薪酬统计报表
* @param param
* @return
*/
XSSFWorkbook exportSalaryReport(LySalaryReportQueryParam param);
Boolean lyReportPermission(User user);
List<String> getCanManageFrztByUid(User user);
List<LySalaryReportPO> getByIds(List<Long> ids);
List<LySalaryReportPO> listSome(LySalaryReportPO lySalaryReport);
void deleteAllSalaryReport(LySalaryReportQueryParam queryParam);
/**
* 领悦 发放表
* @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);
void deleteByIds(List<Long> needDeleteIds);
Map<String, String> getHszb(String ffgsqc);
Map<String, Object> listLyXcdazjtjReport(LySalaryReportQueryParam param);
XSSFWorkbook exportXcdazjtjReport(LySalaryReportQueryParam param);
Map<String, Object> listLyXcdazwjstjReport(LySalaryReportQueryParam param);
XSSFWorkbook exportXcdazwjstjReport(LySalaryReportQueryParam param);
Map<String, Object> listLyTxdazjtjReport(LySalaryReportQueryParam param);
XSSFWorkbook exportTxdazjtjReport(LySalaryReportQueryParam param);
Map<String, Object> listLyTxdazwjstjReport(LySalaryReportQueryParam param);
XSSFWorkbook exportTxdazwjstjReport(LySalaryReportQueryParam param);
}