From 56c1488bf50db9e6ba5ca8c19648b0c9a5b50140 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Tue, 16 Apr 2019 14:05:45 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lease/flow/project/businessapply/CustomerInfoCheck.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java index 75a32acb6..cee7e8ace 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java @@ -410,9 +410,9 @@ public class CustomerInfoCheck { public String checkTel(JBOTransaction tx) throws JBOException{//校验手机是否存在 String msg = ""; //校验承租人,紧急联系人1和2 - BizObject mobile=JBOFactory.createBizObjectQuery(CUSTOMER_PERSON_TEMP.CLASS_NAME,"select * FROM O LEFT JOIN jbo.sys.FLOW_TASK ft ON O.flowunid=ft.objectno where ft.flowno='BusinessApplyFlow' and phaseno='0030' and O.flowunid<>:flowunid and (O.mobile=:mobile or O.EMERGENCY_CONTACT_TEL=:mobileOne or O.REMARK=:mobileTwo) ").setParameter("flowunid", flowunid).setParameter("mobile", this.mobile).setParameter("mobileOne", this.mobile).setParameter("mobileTwo", this.mobile).getSingleResult(false); - BizObject family=JBOFactory.createBizObjectQuery(CUSTOMER_FAMILY_TEMP.CLASS_NAME,"select * from O LEFT JOIN jbo.sys.FLOW_TASK ft ON O.flowunid=ft.objectno where ft.flowno='BusinessApplyFlow' and phaseno='0030' and O.flowunid<>:flowunid and TEL=:mobile ").setParameter("flowunid", flowunid).setParameter("mobile", this.mobile).getSingleResult(false); - BizObject guarantee=JBOFactory.createBizObjectQuery(LB_GUARANTEE_UNIT_TEMP.CLASS_NAME,"select * from O LEFT JOIN jbo.sys.FLOW_TASK ft ON O.flowunid=ft.objectno where ft.flowno='BusinessApplyFlow' and phaseno='0030' and O.flowunid<>:flowunid and MOBILE=:mobile ").setParameter("flowunid", flowunid).setParameter("mobile", this.mobile).getSingleResult(false); + BizObject mobile=JBOFactory.createBizObjectQuery(CUSTOMER_PERSON_TEMP.CLASS_NAME,"select * FROM O LEFT JOIN jbo.sys.FLOW_TASK ft ON O.flowunid=ft.objectno where ft.flowno='BusinessApplyFlow' and ft.phaseno='0030' and O.flowunid<>:flowunid and (O.mobile=:mobile or O.EMERGENCY_CONTACT_TEL=:mobileOne or O.REMARK=:mobileTwo) ").setParameter("flowunid", flowunid).setParameter("mobile", this.mobile).setParameter("mobileOne", this.mobile).setParameter("mobileTwo", this.mobile).getSingleResult(false); + BizObject family=JBOFactory.createBizObjectQuery(CUSTOMER_FAMILY_TEMP.CLASS_NAME,"select * from O LEFT JOIN jbo.sys.FLOW_TASK ft ON O.flowunid=ft.objectno where ft.flowno='BusinessApplyFlow' and ft.phaseno='0030' and O.flowunid<>:flowunid and TEL=:mobile ").setParameter("flowunid", flowunid).setParameter("mobile", this.mobile).getSingleResult(false); + BizObject guarantee=JBOFactory.createBizObjectQuery(LB_GUARANTEE_UNIT_TEMP.CLASS_NAME,"select * from O LEFT JOIN jbo.sys.FLOW_TASK ft ON O.flowunid=ft.objectno where ft.flowno='BusinessApplyFlow' and ft.phaseno='0030' and O.flowunid<>:flowunid and MOBILE=:mobile ").setParameter("flowunid", flowunid).setParameter("mobile", this.mobile).getSingleResult(false); if(mobile==null&&family==null&&guarantee==null){ msg = "5"; }else{