From 5f4ddeabd499ae86687641f6878c3e171e69499b Mon Sep 17 00:00:00 2001 From: sy Date: Fri, 23 Dec 2022 16:34:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=96=AA=E9=85=AC=E7=B3=BB=E7=BB=9F-=E7=A6=8F?= =?UTF-8?q?=E5=88=A9=E5=8F=B0=E8=B4=A6=EF=BC=8C=E8=A1=A5=E5=B7=AE=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BE=85=E7=BC=96=E8=BE=91=E6=95=B0=E6=8D=AE=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E7=A9=BA=E5=80=BC=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../salary/service/impl/SIAccountServiceImpl.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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); + } + } } }