188 lines
4.6 KiB
Java
188 lines
4.6 KiB
Java
|
|
package com.engine.salary.service;
|
|||
|
|
|
|||
|
|
import com.engine.salary.entity.taxdeclaration.dto.TaxDeclarationRateDTO;
|
|||
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclarationPO;
|
|||
|
|
import com.engine.salary.entity.taxdeclaration.po.TaxDeclareRecordPO;
|
|||
|
|
|
|||
|
|
import java.time.YearMonth;
|
|||
|
|
import java.util.Collection;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* @description: 个税申报
|
|||
|
|
* @author: xiajun
|
|||
|
|
* @modified By: xiajun
|
|||
|
|
* @date: Created in 2022/11/2 5:48 PM
|
|||
|
|
* @version:v1.0
|
|||
|
|
*/
|
|||
|
|
public interface TaxDeclareRecordService {
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 查询个税申报记录
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
TaxDeclareRecordPO getById(Long id);
|
|||
|
|
|
|||
|
|
// /**
|
|||
|
|
// * 查询个税申报记录
|
|||
|
|
// *
|
|||
|
|
// * @param ids
|
|||
|
|
// * @param tenantKey
|
|||
|
|
// * @return
|
|||
|
|
// */
|
|||
|
|
// List<TaxDeclareRecordPO> listByIds(Collection<Long> ids, String tenantKey);
|
|||
|
|
//
|
|||
|
|
// /**
|
|||
|
|
// * 查询个税申报记录
|
|||
|
|
// *
|
|||
|
|
// * @param taxCycleRange
|
|||
|
|
// * @param tenantKey
|
|||
|
|
// * @return
|
|||
|
|
// */
|
|||
|
|
// List<TaxDeclareRecordPO> listByTaxCycleRange(YearMonthRange taxCycleRange, String tenantKey);
|
|||
|
|
//
|
|||
|
|
// /**
|
|||
|
|
// * 根据个税扣缴义务人id、税款所属期查询个税申报记录
|
|||
|
|
// *
|
|||
|
|
// * @param taxAgentIds
|
|||
|
|
// * @param taxCycle
|
|||
|
|
// * @param tenantKey
|
|||
|
|
// * @return
|
|||
|
|
// */
|
|||
|
|
// List<TaxDeclareRecordPO> listByTaxCycleAndTaxAgentIds(YearMonth taxCycle, Collection<Long> taxAgentIds, String tenantKey);
|
|||
|
|
//
|
|||
|
|
// /**
|
|||
|
|
// * 根据个税扣缴义务人id、薪资所属月查询个税申报记录
|
|||
|
|
// *
|
|||
|
|
// * @param salaryMonth
|
|||
|
|
// * @param taxAgentIds
|
|||
|
|
// * @param tenantKey
|
|||
|
|
// * @return
|
|||
|
|
// */
|
|||
|
|
// List<TaxDeclareRecordPO> listBySalaryMonthAndTaxAgentIds(YearMonth salaryMonth, Collection<Long> taxAgentIds, String tenantKey);
|
|||
|
|
//
|
|||
|
|
// /**
|
|||
|
|
// * 查询个税申报记录
|
|||
|
|
// *
|
|||
|
|
// * @param queryParam
|
|||
|
|
// * @param tenantKey
|
|||
|
|
// * @return
|
|||
|
|
// */
|
|||
|
|
// Page<TaxDeclareRecordPO> listPageByParam(TaxDeclarationListQueryParam queryParam, Long employeeId, String tenantKey);
|
|||
|
|
//
|
|||
|
|
// /**
|
|||
|
|
// * 生成申报表
|
|||
|
|
// *
|
|||
|
|
// * @param saveParam
|
|||
|
|
// * @param employeeId
|
|||
|
|
// * @param tenantKey
|
|||
|
|
// */
|
|||
|
|
// void save(TaxDeclarationSaveParam saveParam, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 刷新数据
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param employeeId
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void refreshData(Long id, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 更新个税申报表的待刷新数据的标识
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param employeeId
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void updateIcon(Long id, Integer displayIcon, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 因为薪资核算结果发生变动,所以需要更新个税申报表的待刷新数据的标识
|
|||
|
|
*
|
|||
|
|
* @param taxCycle
|
|||
|
|
* @param taxAgentIds
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void updateByTaxCycleAndTaxAgentIds(YearMonth taxCycle, Collection<Long> taxAgentIds, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 判断是否有权限可查看个税申报表
|
|||
|
|
*
|
|||
|
|
* @param taxDeclaration
|
|||
|
|
* @param employeeId
|
|||
|
|
* @param tenantKey
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
boolean checkByAuthority(TaxDeclarationPO taxDeclaration, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 根据id删除
|
|||
|
|
*
|
|||
|
|
* @param ids
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void deleteByIds(Collection<Long> ids, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 个税申报
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void declare(Long id, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 个税申报获取反馈
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void getDeclareFeedback(Long id, TaxDeclarationRateDTO taxDeclarationRate, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 作废
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void cancelDeclare(Long id, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 获取作废反馈
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void getCancelFeedback(Long id, TaxDeclarationRateDTO taxDeclarationRate, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 更正申报
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param employeeId
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
void updateDeclare(Long id, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 税局端申报状态查询
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param employeeId
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
String queryDeclareStatus(Long id, Long employeeId, String tenantKey);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 税局端申报明细查询
|
|||
|
|
*
|
|||
|
|
* @param id
|
|||
|
|
* @param employeeId
|
|||
|
|
* @param tenantKey
|
|||
|
|
*/
|
|||
|
|
String queryCompanyIncomes(Long id, Long employeeId, String tenantKey);
|
|||
|
|
}
|