累计专项附加扣除一键累计,能根据义务人进行累计

This commit is contained in:
Harryxzy 2024-04-30 15:00:43 +08:00
parent 4b474f864f
commit b5b2c9ef1e
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ public class AddUpDeductionServiceImpl extends Service implements AddUpDeduction
} else {
taxAgents = getTaxAgentService(user).listAllTaxAgentsAsAdmin((long) user.getUID());
}
// 过滤个税扣缴义务人选择框
if (CollectionUtils.isNotEmpty(taxAgentIds)) {
taxAgents = taxAgents.stream().filter(taxAgent -> taxAgentIds.contains(taxAgent.getId())).collect(Collectors.toList());
}