Yongsheng.F,根据身份证号查询客户编号,新增客户类型可能为Ent02
This commit is contained in:
parent
d4c674dcff
commit
7c50bb32c3
@ -16,9 +16,12 @@ public class BusinessCustomerMethod {
|
||||
.getBizObjectManager(CUSTOMER_PERSON_TEMP.CLASS_NAME);
|
||||
BizObject bo = bom.createQuery("certid=:certid and certtype='Ind01'")
|
||||
.setParameter("certid", certId).getSingleResult(false);
|
||||
String customerid = bo.getAttribute("customerid").toString();
|
||||
if (null == bo)
|
||||
return "";
|
||||
if (null == bo) {
|
||||
bo = bom.createQuery("certid=:certid and certtype='Ent02'")
|
||||
.setParameter("certid", certId).getSingleResult(false);
|
||||
if(null == bo)
|
||||
return "";
|
||||
}
|
||||
return bo.getAttribute("customerid").toString();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user