业务申请---注掉保存时updatecustomerid方法采用初始的c开头的
This commit is contained in:
parent
378bf83d5a
commit
11145856bd
@ -400,8 +400,8 @@
|
||||
if(!checkCertInfo(true)) return ;
|
||||
if(frame_list.window.save()){
|
||||
var certid=getItemValue(0,0,"CERTID");
|
||||
var customerid=RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerAction","updateCustomerId",'certid='+certid+',flowunid=<%=flowunid%>');
|
||||
setItemValue(0,0,"customerid",customerid);
|
||||
<%-- var customerid=RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerAction","updateCustomerId",'certid='+certid+',flowunid=<%=flowunid%>'); --%>
|
||||
// setItemValue(0,0,"customerid",customerid);
|
||||
as_save("0","saveCertInfo("+leasfrom+",'"+projectSource+"')");
|
||||
};
|
||||
}
|
||||
|
||||
@ -38,7 +38,6 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
|
||||
BizObjectManager bmCI = JBOFactory.getBizObjectManager(CUSTOMER_INFO.CLASS_NAME,Sqlca);
|
||||
|
||||
Sqlca.join(bm);
|
||||
String customerId = UUIDUtil.getUUID();
|
||||
|
||||
BizObject bo = bm.newObject();
|
||||
BizObject boCRT = bmCPT.newObject();
|
||||
@ -52,7 +51,6 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
|
||||
ASUser asUser=new ASUser(this.getAttribute("CurUserID").toString());
|
||||
|
||||
//客户信息表
|
||||
bmC.setAttributeValue("customerid", customerId);//自然人ID
|
||||
bmC.setAttributeValue("customername", this.getAttribute("custname"));//自然人名称
|
||||
bmC.setAttributeValue("customertype", this.getAttribute("CustomerType"));//客户类型
|
||||
bmC.setAttributeValue("certtype", this.getAttribute("certtype"));//证件类型
|
||||
@ -60,6 +58,8 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
|
||||
bmC.setAttributeValue("inputuserid", asUser.getUserID());//登记人
|
||||
bmC.setAttributeValue("inputorgid", asUser.getOrgID());//登记部门
|
||||
bmC.setAttributeValue("inputtime", StringFunction.getTodayNow());//登记时间,系统当前时间
|
||||
bmCI.saveObject(bmC);
|
||||
String customerId = bmC.getAttribute("customerid").getString();
|
||||
String deptid = asUser.getOrgID() ;
|
||||
if(deptid.startsWith("8006")) {
|
||||
BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",deptid).getSingleResult(false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user