diff --git a/src/com/engine/salary/service/impl/SIAccountServiceImpl.java b/src/com/engine/salary/service/impl/SIAccountServiceImpl.java index 22e3cc8c0..826ce13db 100644 --- a/src/com/engine/salary/service/impl/SIAccountServiceImpl.java +++ b/src/com/engine/salary/service/impl/SIAccountServiceImpl.java @@ -2321,14 +2321,22 @@ public class SIAccountServiceImpl extends Service implements SIAccountService { map.put("insuranceName", item.getLabel()); map.put("insuranceId", insuranceId); map.put("insuranceValue", dataMap.get(domkey[0])); - perList.add(map); + if (map.get("insuranceValue") != null && !"".equals(map.get("insuranceValue"))) { + + perList.add(map); + } + } else if (group.getTitle().contains("公司")) { map.put("title", group.getTitle()); map.put("paymentScope", "公司"); map.put("insuranceName", item.getLabel()); map.put("insuranceId", insuranceId); map.put("insuranceValue", dataMap.get(domkey[0])); - comList.add(map); + if (map.get("insuranceValue") != null && !"".equals(map.get("insuranceValue"))) { + + comList.add(map); + } + } } }