改
This commit is contained in:
parent
2c0d8d6dbc
commit
92249779e9
@ -4,8 +4,6 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ADDRESS;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ADDRESS_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_CERT;
|
||||
@ -18,10 +16,6 @@ import jbo.app.tenwa.customer.CUSTOMER_INFO;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_INFO_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_PERSON;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT;
|
||||
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE;
|
||||
import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE_TEMP;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
@ -36,10 +30,12 @@ public class LBCustomerRelaTempToFormalBusiness extends BaseBussiness {
|
||||
this.initBussinessParam(Sqlca);
|
||||
Map<String,String>fromCondtion=new HashMap<String, String>();
|
||||
fromCondtion.put("flowunid",this.getAttribute("FlowUnid").toString());
|
||||
DataOperatorUtil.copyJBOSet(CUSTOMER_INFO_TEMP.CLASS_NAME, fromCondtion,CUSTOMER_INFO.CLASS_NAME, null, null,null, Sqlca);
|
||||
List<BizObject> unionList= DataOperatorUtil.getSetJBO(CUSTOMER_INFO_TEMP.CLASS_NAME, fromCondtion, Sqlca);
|
||||
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():"");
|
||||
DataOperatorUtil.copyJBOSet(CUSTOMER_INFO_TEMP.CLASS_NAME, fromCondtion,CUSTOMER_INFO.CLASS_NAME, null,otherProperty,cc, Sqlca);
|
||||
for(BizObject union:unionList){
|
||||
fromCondtion.clear();
|
||||
fromCondtion.put("customerid", union.getAttribute("customerid").getString());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user