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.LySocialReportPO;
|
|
|
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @author Harryxzy
|
|
|
|
|
|
* @ClassName LySocialReportService
|
|
|
|
|
|
* @date 2024/08/23 17:07
|
|
|
|
|
|
* @description
|
|
|
|
|
|
*/
|
|
|
|
|
|
public interface LySocialReportService {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询所有记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @return 返回集合,没有返回空List
|
|
|
|
|
|
*/
|
|
|
|
|
|
List<LySocialReportPO> listAll();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 根据主键查询
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param id 主键
|
|
|
|
|
|
* @return 返回记录,没有返回null
|
|
|
|
|
|
*/
|
|
|
|
|
|
LySocialReportPO getById(Long id);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 新增,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySocialReport 新增的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int insertIgnoreNull(LySocialReportPO lySocialReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,修改所有字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySocialReport 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int update(LySocialReportPO lySocialReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 修改,忽略null字段
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySocialReport 修改的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int updateIgnoreNull(LySocialReportPO lySocialReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 删除记录
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param lySocialReport 待删除的记录
|
|
|
|
|
|
* @return 返回影响行数
|
|
|
|
|
|
*/
|
|
|
|
|
|
int delete(LySocialReportPO lySocialReport);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 生成报表数据
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
*/
|
|
|
|
|
|
void generateSocialReport(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 查询社保公积金汇总报表
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
Map<String, Object> listSIReport(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 社保公积金汇总报表 合计行
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
LySocialReportPO sumRow(LySalaryReportQueryParam param);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 删除数据
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param siReportIds
|
|
|
|
|
|
*/
|
|
|
|
|
|
void deleteSocialReport(List<Long> siReportIds);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 社保公积金汇总报表导出
|
|
|
|
|
|
*
|
|
|
|
|
|
* @param param
|
|
|
|
|
|
* @return
|
|
|
|
|
|
*/
|
|
|
|
|
|
XSSFWorkbook exportSIReport(LySalaryReportQueryParam param);
|
2024-09-04 16:15:01 +08:00
|
|
|
|
|
|
|
|
|
|
List<LySocialReportPO> getByIds(List<Long> ids);
|
2024-08-28 17:42:16 +08:00
|
|
|
|
}
|