修复生成年终奖申报表null

This commit is contained in:
钱涛 2025-11-28 15:41:42 +08:00
parent 85e0b85871
commit 00fc87ffd8
1 changed files with 1 additions and 0 deletions

View File

@ -722,6 +722,7 @@ public class TaxDeclarationBO {
private static String findStringValue(String fieldCode, Map<Long, List<SalaryAcctResultPO>> resultMap, Map<String, Long> salaryItemMap) {
return resultMap.getOrDefault(salaryItemMap.getOrDefault(fieldCode, 0L), Collections.emptyList()).stream()
.map(SalaryAcctResultPO::getResultValue)
.filter(Objects::nonNull)
.findFirst().orElse("");
}