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-05-27 14:46:01 +08:00
|
|
|
import com.engine.salary.entity.datacollection.param.AddUpSituationImportParam;
|
2022-04-28 17:44:26 +08:00
|
|
|
import com.engine.salary.entity.datacollection.param.AddUpSituationQueryParam;
|
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-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
|
|
|
* @param taxYearMonth
|
|
|
|
|
* @param employeeIds
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
boolean deleteAddUpSituationList(YearMonth taxYearMonth, List<Long> employeeIds);
|
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-03-08 13:17:54 +08:00
|
|
|
}
|