1.修改bug
This commit is contained in:
parent
329dddd27b
commit
56c1488bf5
@ -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{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user