From cddae33f561da60dafb586d243eb49623798ecc1 Mon Sep 17 00:00:00 2001 From: user Date: Thu, 12 Jul 2018 13:53:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=EF=BC=8C?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BF=A1=E6=81=AF=E8=A1=A8=E3=80=81=E5=90=88?= =?UTF-8?q?=E5=90=8C=E4=BF=A1=E6=81=AF=E8=A1=A8=E3=80=81=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E5=85=A5=E5=80=BC=E4=BA=A7=E5=93=81=E7=89=88=E6=9C=ACID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commbusiness/LBProjectIntoTempInitCarBusiness.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 7d0f55c4b..45099a67b 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBProjectIntoTempInitCarBusiness.java @@ -1,5 +1,7 @@ package com.tenwa.lease.flow.project.commbusiness; +import java.util.UUID; + import jbo.app.tenwa.customer.CUSTOMER_COMPANY_TEMP; import jbo.app.tenwa.customer.CUSTOMER_INFO; import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP; @@ -69,7 +71,8 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { //合同信息表 bmLCI.setAttributeValue("FLOWUNID", this.getAttribute("FlowUnid"));//流程ID bmLCI.setAttributeValue("PRODUCT_ID", this.getAttribute("ProductId"));//产品ID - bmLCI.setAttributeValue("VERSIONID", this.getAttribute("versionid"));//版本ID + String versionID = UUID.randomUUID().toString().replaceAll("-", ""); + bmLCI.setAttributeValue("VERSIONID", versionID);//版本ID bmLCI.setAttributeValue("INPUTUSERID", asUser.getUserID());//登记人 bmLCI.setAttributeValue("INPUTORGID", asUser.getOrgID());//登记部门 bmLCI.setAttributeValue("INPUTTIME", StringFunction.getTodayNow());//登记时间,系统当前时间 @@ -138,7 +141,7 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness { bo.setAttributeValue("project_name",this.getAttribute("ProjectNo")+"-"+this.getAttribute("ProductName")); bo.setAttributeValue("CAR_TYPE",this.getAttribute("carAttributes"));//车辆属性 bo.setAttributeValue("LEAS_FORM", this.getAttribute("leasehold"));//租赁方式 - bo.setAttributeValue("VERSIONID", this.getAttribute("versionid"));//版本ID + bo.setAttributeValue("VERSIONID", versionID);//版本ID bo.setAttributeValue("PRODUCT_ID",this.getAttribute("ProductId"));//产品ID bo.setAttributeValue("PRODUCT_NAME",this.getAttribute("ProductName"));//产品名称 bo.setAttributeValue("Is_Flow","inFlow");//在流程中-inFlow,流程结束-outFlow