薪酬系统-福利档案,编辑栏字段显示null问题修复

This commit is contained in:
sy 2022-10-21 10:27:32 +08:00
parent 59ba439290
commit 3ad40774dd
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ public class InsuranceArchivesBO {
.socialStartTime(po.getSocialStartTime())
.schemeAccount(po.getSocialAccount())
.schemePaymentBaseString(po.getSocialPaymentBaseString())
.underTake(po.getUnderTake() + "")
.underTake(po.getUnderTake() == null ? null : String.valueOf(po.getUnderTake()))
.build();
}
@ -54,7 +54,7 @@ public class InsuranceArchivesBO {
.fundStartTime(po.getFundStartTime())
.supplementFundAccount(po.getSupplementFundAccount())
.nonPayment(po.getNonPayment())
.underTake(po.getUnderTake() + "")
.underTake(po.getUnderTake() == null ? null : String.valueOf(po.getUnderTake()))
.welfareType(SalaryEnumUtil.enumMatchByValue(po.getWelfareType(), WelfareTypeEnum.values(), WelfareTypeEnum.class))
.build();
}
@ -66,7 +66,7 @@ public class InsuranceArchivesBO {
return InsuranceArchivesOtherSchemeDTO.builder()
.id(po.getId())
.employeeId(po.getEmployeeId())
.underTake(po.getUnderTake() + "")
.underTake(po.getUnderTake() == null ? null : String.valueOf(po.getUnderTake()))
.nonPayment(po.getNonPayment())
.otherName(po.getOtherSchemeId() == null ? null : String.valueOf(po.getOtherSchemeId()))
.otherSchemeId(po.getOtherSchemeId())