薪酬系统-福利台账,补差导入部分福利项缴费信息相关合计逻辑优化
This commit is contained in:
parent
37310f02f6
commit
c686f52153
|
|
@ -1704,19 +1704,19 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("社保个人合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setSocialPerSum(baseMap.get("社保个人合计").toString());
|
||||
} else {
|
||||
} else if (!socialPerMap.isEmpty()) {
|
||||
insuranceAccountDetailPO.setSocialPerSum(sumOfMapValue(socialPerMap));
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("公积金个人合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setFundPerSum(baseMap.get("公积金个人合计").toString());
|
||||
} else {
|
||||
} else if (!fundPerMap.isEmpty()) {
|
||||
insuranceAccountDetailPO.setFundPerSum(sumOfMapValue(fundPerMap));
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("其他福利个人合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setOtherPerSum(baseMap.get("其他福利个人合计").toString());
|
||||
} else {
|
||||
} else if (!otherPerMap.isEmpty()) {
|
||||
insuranceAccountDetailPO.setOtherPerSum(sumOfMapValue(otherPerMap));
|
||||
}
|
||||
|
||||
|
|
@ -1730,19 +1730,19 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("社保单位合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setSocialComSum(baseMap.get("社保单位合计").toString());
|
||||
} else {
|
||||
} else if (!socialComMap.isEmpty()) {
|
||||
insuranceAccountDetailPO.setSocialComSum(sumOfMapValue(socialComMap));
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("公积金单位合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setFundComSum(baseMap.get("公积金单位合计").toString());
|
||||
} else {
|
||||
} else if (!fundComMap.isEmpty()) {
|
||||
insuranceAccountDetailPO.setFundComSum(sumOfMapValue(fundComMap));
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(baseMap.getOrDefault("其他福利单位合计", "").toString())) {
|
||||
insuranceAccountDetailPO.setOtherComSum(baseMap.get("其他福利单位合计").toString());
|
||||
} else {
|
||||
} else if (!otherComMap.isEmpty()) {
|
||||
insuranceAccountDetailPO.setOtherComSum(sumOfMapValue(otherComMap));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue