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 084a0f7af..89b151881 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/CustomerInfoCheck.java @@ -20,14 +20,14 @@ public class CustomerInfoCheck { public String checkName(JBOTransaction tx) throws JBOException{ if(customerType.equals("03")){//自然人 - BizObject fullname = JBOFactory.createBizObjectQuery(CUSTOMER_PERSON_TEMP.CLASS_NAME,"FULLNAME=:CustomerName").setParameter("CustomerName", this.CustomerName).getSingleResult(false); + BizObject fullname = JBOFactory.createBizObjectQuery(CUSTOMER_PERSON.CLASS_NAME,"FULLNAME=:CustomerName").setParameter("CustomerName", this.CustomerName).getSingleResult(false); if(fullname==null){ this.nameResult = "1"; }else{ this.nameResult = "2"; } }else if(customerType.equals("01")){//法人 - BizObject enterprisename = JBOFactory.createBizObjectQuery(CUSTOMER_COMPANY_TEMP.CLASS_NAME,"enterprisename=:CustomerName").setParameter("CustomerName", this.CustomerName).getSingleResult(false); + BizObject enterprisename = JBOFactory.createBizObjectQuery(CUSTOMER_COMPANY.CLASS_NAME,"enterprisename=:CustomerName").setParameter("CustomerName", this.CustomerName).getSingleResult(false); if(enterprisename==null){ this.nameResult = "1"; }else{ @@ -39,14 +39,14 @@ public class CustomerInfoCheck { public String checkCertId(JBOTransaction tx) throws JBOException{ if(customerType.equals("03")){//自然人 - BizObject cert=JBOFactory.createBizObjectQuery(CUSTOMER_PERSON_TEMP.CLASS_NAME,"CERTID=:certid").setParameter("certid", this.certId).getSingleResult(false); + BizObject cert=JBOFactory.createBizObjectQuery(CUSTOMER_PERSON.CLASS_NAME,"CERTID=:certid").setParameter("certid", this.certId).getSingleResult(false); if(cert==null){ this.certResult = "3"; }else{ this.certResult = "4"; } }else if(customerType.equals("01")){//法人 - BizObject cert=JBOFactory.createBizObjectQuery(CUSTOMER_COMPANY_TEMP.CLASS_NAME,"certid=:certid").setParameter("certid", this.certId).getSingleResult(false); + BizObject cert=JBOFactory.createBizObjectQuery(CUSTOMER_COMPANY.CLASS_NAME,"certid=:certid").setParameter("certid", this.certId).getSingleResult(false); if(cert==null){ this.certResult = "3"; }else{