diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp index 2d53ba1af..1f235fcd7 100644 --- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp +++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerInfo.jsp @@ -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+"')"); }; } diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java index 449b257c9..0627469bd 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java @@ -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);