From 073077ae3afa2a760475458205dc0794fefa8465 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Fri, 20 Jul 2018 14:15:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=B7=E7=A7=9F=E5=90=8E?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=E6=89=BF=E7=A7=9F=E4=BA=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=97=A0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commbusiness/LBCustomerRelaFormalToTempBusiness.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerRelaFormalToTempBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerRelaFormalToTempBusiness.java index 7aa907e21..b4c5f9256 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerRelaFormalToTempBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBCustomerRelaFormalToTempBusiness.java @@ -13,6 +13,7 @@ import jbo.app.tenwa.customer.CUSTOMER_FAMILY_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 com.amarsoft.are.jbo.BizObject; @@ -43,6 +44,11 @@ public class LBCustomerRelaFormalToTempBusiness extends BaseBussiness { DataOperatorUtil.copyJBOSet(CUSTOMER_ADDRESS.CLASS_NAME, fromCondtion, CUSTOMER_ADDRESS_TEMP.CLASS_NAME, null, other, null, Sqlca); } for(BizObject unit:unitList){ + //担保人从正式表到临时表 + fromCondtion.clear(); + fromCondtion.put("id", unit.getAttribute("id").getString()); + DataOperatorUtil.copySingleJBO(LB_GUARANTEE_UNIT.CLASS_NAME, fromCondtion, LB_GUARANTEE_UNIT_TEMP.CLASS_NAME, null, other, Sqlca); + fromCondtion.clear(); fromCondtion.put("customerid", unit.getAttribute("ASSUROR").getString()); DataOperatorUtil.copyJBOSet(CUSTOMER_PERSON.CLASS_NAME, fromCondtion, CUSTOMER_PERSON_TEMP.CLASS_NAME, null, other, null, Sqlca);