This commit is contained in:
luojian 2018-07-24 17:11:33 +08:00
parent 46234a9024
commit 28c6dbfc21

View File

@ -3,6 +3,7 @@ package com.tenwa.lease.flow.project.commbusiness;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import jbo.app.tenwa.customer.CUSTOMER_ADDRESS;
import jbo.app.tenwa.customer.CUSTOMER_ADDRESS_TEMP;
@ -34,7 +35,7 @@ public class LBCustomerRelaTempToFormalBusiness extends BaseBussiness {
Map<String,String>toCondtion=new HashMap<String, String>();
CustomerCompare cc=new CustomerCompare();
Map<String,String>otherProperty=new HashMap<String,String>();
otherProperty.put("customerid", unionList.size()>0?unionList.get(0).getAttribute("customerid").toString():"");
otherProperty.put("customerid", unionList.size()>0?unionList.get(0).getAttribute("customerid").toString():UUID.randomUUID().toString().replaceAll("-", ""));
DataOperatorUtil.copyJBOSet(CUSTOMER_INFO_TEMP.CLASS_NAME, fromCondtion,CUSTOMER_INFO.CLASS_NAME, null,otherProperty,cc, Sqlca);
for(BizObject union:unionList){
fromCondtion.clear();