From a3b9621ee4da158fbb75e1a41f03c9ba2e3e9088 Mon Sep 17 00:00:00 2001 From: Harryxzy Date: Sat, 4 Jan 2025 23:54:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=AF=E6=B9=BE=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E8=B0=83=E8=96=AA=E4=B8=BA0=20=E4=B8=8D=E8=B0=83=E8=96=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/salary/action/shgwPltxActionNEW.java | 2 +- src/com/engine/salary/action/shgwPltxActionNEWCheck.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/engine/salary/action/shgwPltxActionNEW.java b/src/com/engine/salary/action/shgwPltxActionNEW.java index bf151361b..1ade2ee56 100644 --- a/src/com/engine/salary/action/shgwPltxActionNEW.java +++ b/src/com/engine/salary/action/shgwPltxActionNEW.java @@ -62,7 +62,7 @@ public class shgwPltxActionNEW implements Action { List> importData = new ArrayList<>(); gwPltxDt1POS.stream() - .filter(po -> po.getDx() != null && !po.getDx().equals(BigDecimal.ZERO)) + .filter(po -> po.getDx() != null && (po.getDx().compareTo(BigDecimal.ZERO) != 0 )) .forEach(po -> { HashMap map = new HashMap<>(); map.put("员工id", po.getXm()); diff --git a/src/com/engine/salary/action/shgwPltxActionNEWCheck.java b/src/com/engine/salary/action/shgwPltxActionNEWCheck.java index 04267d33e..1c5d7cdea 100644 --- a/src/com/engine/salary/action/shgwPltxActionNEWCheck.java +++ b/src/com/engine/salary/action/shgwPltxActionNEWCheck.java @@ -62,7 +62,7 @@ public class shgwPltxActionNEWCheck implements Action { List> importData = new ArrayList<>(); gwPltxDt1POS.stream() - .filter(po -> po.getDx() != null && !po.getDx().equals(BigDecimal.ZERO)) + .filter(po -> po.getDx() != null && (po.getDx().compareTo(BigDecimal.ZERO) != 0)) .forEach(po -> { HashMap map = new HashMap<>(); map.put("员工id", po.getXm());