申报表税款所属期检索和申报
This commit is contained in:
parent
2fe958f5db
commit
491a746c75
|
|
@ -126,19 +126,6 @@ public class TaxDeclarationServiceImpl extends Service implements TaxDeclaration
|
|||
po.setTaxCycleEndDate(queryParam.getEndSalaryMonth());
|
||||
}
|
||||
|
||||
|
||||
// 分权
|
||||
Boolean openDevolution = getTaxAgentService(user).isNeedAuth(currentEmployeeId);
|
||||
if (openDevolution) {
|
||||
// 查询负责管理的个税扣缴义务人
|
||||
Collection<TaxAgentPO> taxAgentPOS = getTaxAgentService(user).listAllTaxAgents(currentEmployeeId);
|
||||
if (CollectionUtils.isEmpty(taxAgentPOS)) {
|
||||
return new PageInfo<>(new ArrayList<>());
|
||||
}
|
||||
Set<Long> taxAgentIds = SalaryEntityUtil.properties(taxAgentPOS, TaxAgentPO::getId);
|
||||
po.setTaxAgentIds(taxAgentIds);
|
||||
}
|
||||
|
||||
// 查询个税申报表
|
||||
List<TaxDeclarationPO> taxDeclarationPOS = getTaxDeclarationMapper().listSome(po);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue