fix:贷记单审核校验

This commit is contained in:
zzs01@yunemao.com 2024-09-12 10:40:44 +08:00
parent b8cd25b566
commit d91e0df71d

View File

@ -195,7 +195,7 @@ public class DebCredNewAuditValidatorOp extends AbstractValidator {
",请修改后重试"); ",请修改后重试");
} }
} else { } else {
if (sumamount.compareTo(yem_amount_sub) == 1) { if (bigDecimal.compareTo(BigDecimal.ZERO)<0) {
this.addErrorMessage(dataEntitie, "根据客户【" + customername + "】、" + this.addErrorMessage(dataEntitie, "根据客户【" + customername + "】、" +
"产品类型【" + productsname + "】、借/贷类型【" + debcredtype + "】、" + "产品类型【" + productsname + "】、借/贷类型【" + debcredtype + "】、" +
"借贷业务类型【" + yem_credittype.getString("name") + "" + "借贷业务类型【" + yem_credittype.getString("name") + "" +
@ -223,7 +223,7 @@ public class DebCredNewAuditValidatorOp extends AbstractValidator {
",请修改后重试"); ",请修改后重试");
} }
} else { } else {
if (sumamount.compareTo(yem_amount_sub) == 1) { if (bigDecimal.compareTo(BigDecimal.ZERO)<0) {
this.addErrorMessage(dataEntitie, "根据客户【" + customername + "】、" + this.addErrorMessage(dataEntitie, "根据客户【" + customername + "】、" +
"产品类型【" + productsname + "】、借/贷类型【" + debcredtype + "】、" + "产品类型【" + productsname + "】、借/贷类型【" + debcredtype + "】、" +
"借贷业务类型【" + yem_credittype.getString("name") + "" + "借贷业务类型【" + yem_credittype.getString("name") + "" +