薪酬系统-薪资核算,补缴和补差个人福利项明细核算失败问题修复
This commit is contained in:
parent
3571797e12
commit
2e2954f706
|
|
@ -955,13 +955,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
record.put("socialPerCommonSum", commonSiAcct != null ? commonSiAcct.getSocialPerSum() : new BigDecimal("0"));
|
||||
record.put("socialComCommonSum", commonSiAcct != null ? commonSiAcct.getSocialComSum() : new BigDecimal("0"));
|
||||
//社保-补缴
|
||||
if (StringUtils.isNotEmpty(repairSiAcct.getSocialPerJson())) {
|
||||
if (repairSiAcct != null && StringUtils.isNotEmpty(repairSiAcct.getSocialPerJson())) {
|
||||
Map<String, Object> socialJson = JSON.parseObject(repairSiAcct.getSocialPerJson(), new HashMap<String, Object>().getClass());
|
||||
socialJson.forEach((k, v) -> {
|
||||
record.put(k + "socialRepairPer", v);
|
||||
});
|
||||
}
|
||||
if (StringUtils.isNotEmpty(repairSiAcct.getSocialComJson())) {
|
||||
if (repairSiAcct != null && StringUtils.isNotEmpty(repairSiAcct.getSocialComJson())) {
|
||||
Map<String, Object> socialJson = JSON.parseObject(repairSiAcct.getSocialComJson(), new HashMap<String, Object>().getClass());
|
||||
socialJson.forEach((k, v) -> {
|
||||
record.put(k + "socialRepairCom", v);
|
||||
|
|
@ -970,13 +970,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
record.put("socialPerRepairSum", repairSiAcct != null ? repairSiAcct.getSocialPerSum() : new BigDecimal("0"));
|
||||
record.put("socialComRepairSum", repairSiAcct != null ? repairSiAcct.getSocialComSum() : new BigDecimal("0"));
|
||||
//社保-补差
|
||||
if (StringUtils.isNotEmpty(balanceSiAcct.getSocialPerJson())) {
|
||||
if (balanceSiAcct != null && StringUtils.isNotEmpty(balanceSiAcct.getSocialPerJson())) {
|
||||
Map<String, Object> socialJson = JSON.parseObject(balanceSiAcct.getSocialPerJson(), new HashMap<String, Object>().getClass());
|
||||
socialJson.forEach((k, v) -> {
|
||||
record.put(k + "socialBalancePer", v);
|
||||
});
|
||||
}
|
||||
if (StringUtils.isNotEmpty(balanceSiAcct.getSocialComJson())) {
|
||||
if (balanceSiAcct != null && StringUtils.isNotEmpty(balanceSiAcct.getSocialComJson())) {
|
||||
Map<String, Object> socialJson = JSON.parseObject(balanceSiAcct.getSocialComJson(), new HashMap<String, Object>().getClass());
|
||||
socialJson.forEach((k, v) -> {
|
||||
record.put(k + "socialBalanceCom", v);
|
||||
|
|
@ -1001,13 +1001,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
record.put("fundPerCommonSum", commonSiAcct != null ? commonSiAcct.getFundPerSum() : new BigDecimal("0"));
|
||||
record.put("fundComCommonSum", commonSiAcct != null ? commonSiAcct.getFundComSum() : new BigDecimal("0"));
|
||||
//公积金-补缴
|
||||
if (StringUtils.isNotEmpty(repairSiAcct.getFundPerJson())) {
|
||||
if (repairSiAcct != null && StringUtils.isNotEmpty(repairSiAcct.getFundPerJson())) {
|
||||
Map<String, Object> fundJson = JSON.parseObject(repairSiAcct.getFundPerJson(), new HashMap<String, Object>().getClass());
|
||||
fundJson.forEach((k, v) -> {
|
||||
record.put(k + "fundRepairPer", v);
|
||||
});
|
||||
}
|
||||
if (StringUtils.isNotEmpty(repairSiAcct.getFundComJson())) {
|
||||
if (repairSiAcct != null && StringUtils.isNotEmpty(repairSiAcct.getFundComJson())) {
|
||||
Map<String, Object> fundJson = JSON.parseObject(repairSiAcct.getFundComJson(), new HashMap<String, Object>().getClass());
|
||||
fundJson.forEach((k, v) -> {
|
||||
record.put(k + "fundRepairCom", v);
|
||||
|
|
@ -1016,13 +1016,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
record.put("fundPerRepairSum", repairSiAcct != null ? repairSiAcct.getFundPerSum() : new BigDecimal("0"));
|
||||
record.put("fundComRepairSum", repairSiAcct != null ? repairSiAcct.getFundComSum() : new BigDecimal("0"));
|
||||
//公积金-补差
|
||||
if (StringUtils.isNotEmpty(balanceSiAcct.getFundPerJson())) {
|
||||
if (balanceSiAcct != null && StringUtils.isNotEmpty(balanceSiAcct.getFundPerJson())) {
|
||||
Map<String, Object> fundJson = JSON.parseObject(balanceSiAcct.getFundPerJson(), new HashMap<String, Object>().getClass());
|
||||
fundJson.forEach((k, v) -> {
|
||||
record.put(k + "fundBalancePer", v);
|
||||
});
|
||||
}
|
||||
if (StringUtils.isNotEmpty(balanceSiAcct.getFundComJson())) {
|
||||
if (balanceSiAcct != null && StringUtils.isNotEmpty(balanceSiAcct.getFundComJson())) {
|
||||
Map<String, Object> fundJson = JSON.parseObject(balanceSiAcct.getFundComJson(), new HashMap<String, Object>().getClass());
|
||||
fundJson.forEach((k, v) -> {
|
||||
record.put(k + "fundBalanceCom", v);
|
||||
|
|
@ -1047,13 +1047,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
record.put("otherPerCommonSum", commonSiAcct != null ? commonSiAcct.getOtherPerSum() : new BigDecimal("0"));
|
||||
record.put("otherComCommonSum", commonSiAcct != null ? commonSiAcct.getOtherComSum() : new BigDecimal("0"));
|
||||
//其他福利-补缴
|
||||
if (StringUtils.isNotEmpty(repairSiAcct.getOtherPerJson())) {
|
||||
if (repairSiAcct != null && StringUtils.isNotEmpty(repairSiAcct.getOtherPerJson())) {
|
||||
Map<String, Object> otherJson = JSON.parseObject(repairSiAcct.getOtherPerJson(), new HashMap<String, Object>().getClass());
|
||||
otherJson.forEach((k, v) -> {
|
||||
record.put(k + "otherRepairPer", v);
|
||||
});
|
||||
}
|
||||
if (StringUtils.isNotEmpty(repairSiAcct.getOtherComJson())) {
|
||||
if (repairSiAcct != null && StringUtils.isNotEmpty(repairSiAcct.getOtherComJson())) {
|
||||
Map<String, Object> otherJson = JSON.parseObject(repairSiAcct.getOtherComJson(), new HashMap<String, Object>().getClass());
|
||||
otherJson.forEach((k, v) -> {
|
||||
record.put(k + "otherRepairCom", v);
|
||||
|
|
@ -1062,13 +1062,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
|
|||
record.put("otherPerRepairSum", repairSiAcct != null ? repairSiAcct.getOtherPerSum() : new BigDecimal("0"));
|
||||
record.put("otherComRepairSum", repairSiAcct != null ? repairSiAcct.getOtherComSum() : new BigDecimal("0"));
|
||||
//其他福利-补差
|
||||
if (StringUtils.isNotEmpty(balanceSiAcct.getOtherPerJson())) {
|
||||
if (balanceSiAcct != null && StringUtils.isNotEmpty(balanceSiAcct.getOtherPerJson())) {
|
||||
Map<String, Object> otherJson = JSON.parseObject(balanceSiAcct.getOtherPerJson(), new HashMap<String, Object>().getClass());
|
||||
otherJson.forEach((k, v) -> {
|
||||
record.put(k + "otherBalancePer", v);
|
||||
});
|
||||
}
|
||||
if (StringUtils.isNotEmpty(balanceSiAcct.getOtherComJson())) {
|
||||
if (balanceSiAcct != null && StringUtils.isNotEmpty(balanceSiAcct.getOtherComJson())) {
|
||||
Map<String, Object> otherJson = JSON.parseObject(balanceSiAcct.getOtherComJson(), new HashMap<String, Object>().getClass());
|
||||
otherJson.forEach((k, v) -> {
|
||||
record.put(k + "otherBalanceCom", v);
|
||||
|
|
|
|||
Loading…
Reference in New Issue