2022-03-08 13:17:54 +08:00
|
|
|
package com.engine.salary.service;
|
|
|
|
|
|
2022-04-11 20:17:47 +08:00
|
|
|
import com.engine.salary.entity.datacollection.AddUpSituation;
|
2022-05-27 11:49:23 +08:00
|
|
|
import com.engine.salary.entity.datacollection.dto.AddUpSituationDTO;
|
|
|
|
|
import com.engine.salary.entity.datacollection.dto.AddUpSituationRecordDTO;
|
2022-10-31 16:04:06 +08:00
|
|
|
import com.engine.salary.entity.datacollection.param.*;
|
2022-05-27 11:49:23 +08:00
|
|
|
import com.engine.salary.util.page.PageInfo;
|
2022-03-10 11:09:08 +08:00
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
2022-03-08 13:17:54 +08:00
|
|
|
|
2022-04-11 20:17:47 +08:00
|
|
|
import java.time.YearMonth;
|
2022-05-09 17:47:19 +08:00
|
|
|
import java.util.Collection;
|
2022-06-08 16:36:50 +08:00
|
|
|
import java.util.Date;
|
2022-04-11 20:17:47 +08:00
|
|
|
import java.util.List;
|
2022-03-08 13:17:54 +08:00
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
public interface AddUpSituationService {
|
|
|
|
|
|
2022-05-27 14:46:01 +08:00
|
|
|
Map<String, Object> getSearchCondition();
|
2022-03-08 13:17:54 +08:00
|
|
|
|
2022-05-27 11:49:23 +08:00
|
|
|
/**
|
|
|
|
|
* 通过id获取单个累计情况
|
|
|
|
|
*
|
|
|
|
|
* @param id
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
AddUpSituation getById(Long id);
|
2022-03-10 11:09:08 +08:00
|
|
|
|
2022-03-10 17:57:46 +08:00
|
|
|
|
2022-05-27 11:49:23 +08:00
|
|
|
/**
|
|
|
|
|
* 数据采集-累计情况列表
|
|
|
|
|
*
|
|
|
|
|
* @param queryParam
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
PageInfo<AddUpSituationDTO> listPage(AddUpSituationQueryParam queryParam);
|
2022-03-10 17:57:46 +08:00
|
|
|
|
2022-05-27 11:49:23 +08:00
|
|
|
/**
|
|
|
|
|
* 获取数据采集-累计情况详情列表
|
|
|
|
|
*
|
|
|
|
|
* @param queryParam
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
PageInfo<AddUpSituationRecordDTO> recordListPage(AddUpSituationQueryParam queryParam);
|
2022-04-11 20:17:47 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取累计情况
|
|
|
|
|
*
|
|
|
|
|
* @param taxYearMonth
|
|
|
|
|
* @param employeeIds
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
List<AddUpSituation> getAddUpSituationList(YearMonth taxYearMonth, List<Long> employeeIds);
|
|
|
|
|
|
2022-05-27 11:49:23 +08:00
|
|
|
XSSFWorkbook export(AddUpSituationQueryParam queryParam);
|
|
|
|
|
|
|
|
|
|
|
2022-05-27 14:46:01 +08:00
|
|
|
XSSFWorkbook exportDetail(AddUpSituationQueryParam queryParam);
|
2022-05-27 11:49:23 +08:00
|
|
|
|
2022-05-27 14:46:01 +08:00
|
|
|
Map<String, Object> preview(AddUpSituationImportParam importParam);
|
2022-05-27 11:49:23 +08:00
|
|
|
|
2022-05-27 14:46:01 +08:00
|
|
|
Map<String, Object> importAddUpSituation(AddUpSituationImportParam importParam);
|
2022-05-27 11:49:23 +08:00
|
|
|
|
2022-04-11 20:17:47 +08:00
|
|
|
/**
|
|
|
|
|
* 删除累计情况
|
2022-05-27 11:49:23 +08:00
|
|
|
*
|
2022-04-11 20:17:47 +08:00
|
|
|
* @return
|
|
|
|
|
*/
|
2022-08-08 17:45:18 +08:00
|
|
|
boolean deleteAddUpSituationList(Date taxCycle,Long taxAgentId);
|
2022-04-28 17:44:26 +08:00
|
|
|
|
|
|
|
|
XSSFWorkbook downloadTemplate(AddUpSituationQueryParam queryParam);
|
2022-05-09 17:47:19 +08:00
|
|
|
|
|
|
|
|
boolean deleteByTaxYearMonthAndTaxAgentIds(YearMonth localDate2YearMonth, Collection<Long> taxAgentIds);
|
2022-05-27 11:49:23 +08:00
|
|
|
|
2022-07-13 09:53:11 +08:00
|
|
|
void batchSave(List<AddUpSituation> list);
|
|
|
|
|
|
2022-10-28 14:08:27 +08:00
|
|
|
/**
|
|
|
|
|
* @description 编辑数据
|
|
|
|
|
* @return void
|
|
|
|
|
* @author Harryxzy
|
|
|
|
|
* @date 2022/10/27 22:03
|
|
|
|
|
*/
|
|
|
|
|
void editAddUpSituation(AddUpSituationParam addUpSituationParam);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description 新建数据
|
|
|
|
|
* @return void
|
|
|
|
|
* @author Harryxzy
|
|
|
|
|
* @date 2022/10/27 22:03
|
|
|
|
|
*/
|
|
|
|
|
void createAddUpSituation(AddUpSituationParam addUpSituationParam);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description 删除所选数据
|
|
|
|
|
* @return void
|
|
|
|
|
* @author Harryxzy
|
|
|
|
|
* @date 2022/10/27 22:35
|
|
|
|
|
*/
|
2022-10-31 16:04:06 +08:00
|
|
|
void deleteSelectAddUpSituation(AddUpSituationDeleteParam deleteParam);
|
2022-10-28 14:08:27 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description 一键清空所有数据
|
|
|
|
|
* @return null
|
|
|
|
|
* @author Harryxzy
|
|
|
|
|
* @date 2022/10/27 22:35
|
|
|
|
|
*/
|
2022-10-31 19:21:13 +08:00
|
|
|
void deleteAllAddUpSituation(AddUpSituationDeleteParam addUpSituationDeleteParam);
|
2022-10-31 14:50:54 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description 获取往期累计情况
|
|
|
|
|
* @return void
|
|
|
|
|
* @author Harryxzy
|
|
|
|
|
* @date 2022/10/31 14:00
|
|
|
|
|
*/
|
|
|
|
|
AddUpSituationRecordDTO getAddUpSituation(AddUpSituationParam addUpSituationParam);
|
2022-03-08 13:17:54 +08:00
|
|
|
}
|