From d91e0df71d539b6a9e717ec7c48735e88fef921e Mon Sep 17 00:00:00 2001 From: "zzs01@yunemao.com" Date: Thu, 12 Sep 2024 10:40:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B4=B7=E8=AE=B0=E5=8D=95=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../debcrednotenew/validator/DebCredNewAuditValidatorOp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yem/wm/im/debcrednotenew/validator/DebCredNewAuditValidatorOp.java b/src/main/java/com/yem/wm/im/debcrednotenew/validator/DebCredNewAuditValidatorOp.java index 807ed6a9..ccc6f300 100644 --- a/src/main/java/com/yem/wm/im/debcrednotenew/validator/DebCredNewAuditValidatorOp.java +++ b/src/main/java/com/yem/wm/im/debcrednotenew/validator/DebCredNewAuditValidatorOp.java @@ -195,7 +195,7 @@ public class DebCredNewAuditValidatorOp extends AbstractValidator { ",请修改后重试"); } } else { - if (sumamount.compareTo(yem_amount_sub) == 1) { + if (bigDecimal.compareTo(BigDecimal.ZERO)<0) { this.addErrorMessage(dataEntitie, "根据客户【" + customername + "】、" + "产品类型【" + productsname + "】、借/贷类型【" + debcredtype + "】、" + "借贷业务类型【" + yem_credittype.getString("name") + "】" + @@ -223,7 +223,7 @@ public class DebCredNewAuditValidatorOp extends AbstractValidator { ",请修改后重试"); } } else { - if (sumamount.compareTo(yem_amount_sub) == 1) { + if (bigDecimal.compareTo(BigDecimal.ZERO)<0) { this.addErrorMessage(dataEntitie, "根据客户【" + customername + "】、" + "产品类型【" + productsname + "】、借/贷类型【" + debcredtype + "】、" + "借贷业务类型【" + yem_credittype.getString("name") + "】" +