From 1c9a864551a276db90744ac1cd2681bc75e95630 Mon Sep 17 00:00:00 2001 From: zhangjun Date: Mon, 20 Jul 2020 15:02:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=85=E4=BF=9D=E4=BA=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E4=B8=89=E4=B8=AA=E4=B8=8D=E8=83=BD=E8=BF=9B=E5=85=A5=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/amarsoft/als/base/awe/controller/bondsmanDoManage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src_app_fresh/apx/com/amarsoft/als/base/awe/controller/bondsmanDoManage.java b/src_app_fresh/apx/com/amarsoft/als/base/awe/controller/bondsmanDoManage.java index 14a8412df..5be6522ae 100644 --- a/src_app_fresh/apx/com/amarsoft/als/base/awe/controller/bondsmanDoManage.java +++ b/src_app_fresh/apx/com/amarsoft/als/base/awe/controller/bondsmanDoManage.java @@ -46,9 +46,10 @@ public class bondsmanDoManage extends AbstractAweDoQueryManage { throws Exception { setParamMap(fieldMap); String flowUnid = fieldMap.get("flowunid") == null ? "" : fieldMap.get("flowunid").toString(); + String id = fieldMap.get("id") == null ? "" : fieldMap.get("id").toString(); String num = sqlca.getString("select count(1) AS num from lb_guarantee_unit_temp where FLOWUNID = '" + flowUnid + "'"); - if (num != null && Integer.valueOf(num) > 2) { + if (num != null && Integer.valueOf(num) > 2 && id == null || "".equals(id)) { ReturnMapUtil.setReturnMap(null,RestfullConstant.baseProperty.get("fail").toString(), "担保人信息不能超过三个!!!"); return ReturnMapUtil.getReturnMap(); }