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());