薪酬系统-福利台账,退差新增逻辑优化

This commit is contained in:
sy 2023-06-13 15:43:10 +08:00
parent 1460d32ae4
commit 12b4977067
1 changed files with 3 additions and 3 deletions

View File

@ -219,7 +219,7 @@ public class SIRecessionServiceImpl extends Service implements SIRecessionServic
String socialComJson = insuranceAccountDetailPO.getSocialComJson();
if (StringUtils.isNotBlank(socialComJson)) {
HashMap<String, String> jsonMap = new HashMap<>();
HashMap<String, String> hashMap = JSON.parseObject(socialPerJson, new HashMap<String, String>().getClass());
HashMap<String, String> hashMap = JSON.parseObject(socialComJson, new HashMap<String, String>().getClass());
hashMap.forEach((k, v) -> {
if (StringUtils.isNotBlank(v)) {
v = new BigDecimal(v).negate().toPlainString();
@ -254,7 +254,7 @@ public class SIRecessionServiceImpl extends Service implements SIRecessionServic
String fundComJson = insuranceAccountDetailPO.getFundComJson();
if (StringUtils.isNotBlank(fundComJson)) {
HashMap<String, String> jsonMap = new HashMap<>();
HashMap<String, String> hashMap = JSON.parseObject(fundPerJson, new HashMap<String, String>().getClass());
HashMap<String, String> hashMap = JSON.parseObject(fundComJson, new HashMap<String, String>().getClass());
hashMap.forEach((k, v) -> {
if (StringUtils.isNotBlank(v)) {
v = new BigDecimal(v).negate().toPlainString();
@ -290,7 +290,7 @@ public class SIRecessionServiceImpl extends Service implements SIRecessionServic
String otherComJson = insuranceAccountDetailPO.getOtherComJson();
if (StringUtils.isNotBlank(otherComJson)) {
HashMap<String, String> jsonMap = new HashMap<>();
HashMap<String, String> hashMap = JSON.parseObject(otherPerJson, new HashMap<String, String>().getClass());
HashMap<String, String> hashMap = JSON.parseObject(otherComJson, new HashMap<String, String>().getClass());
hashMap.forEach((k, v) -> {
if (StringUtils.isNotBlank(v)) {
v = new BigDecimal(v).negate().toPlainString();