存量客户信息值考虑配偶信息考表操作

This commit is contained in:
tangfutang 2022-03-28 18:31:55 +08:00
parent 7210809126
commit 85d31bfa02

View File

@ -167,12 +167,16 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
Map<String,String>fromCondtion=new HashMap<String, String>();
fromCondtion.put("CUSTOMERID",customerId);
//存量客户目前只考虑为配偶的进行考表操作
Map<String,String> familyFromCondtion =new HashMap<String, String>();
familyFromCondtion.put("CUSTOMERID",customerId);
familyFromCondtion.put("Spouse_","Y");
//otherProperty.put(CUSTOMER_INFO_TEMP.distributor_id, distributoIid);
//¿½µ½ÁÙʱ±í
DataOperatorUtil.copySingleJBO(CUSTOMER_INFO.CLASS_NAME, fromCondtion, CUSTOMER_INFO_TEMP.CLASS_NAME, null, infoProperty, tx);
DataOperatorUtil.copySingleJBO(CUSTOMER_CERT.CLASS_NAME, fromCondtion, CUSTOMER_CERT_TEMP.CLASS_NAME, null, infoProperty, tx);
DataOperatorUtil.copySingleJBO(CUSTOMER_FAMILY.CLASS_NAME, fromCondtion, CUSTOMER_FAMILY_TEMP.CLASS_NAME, null, familyProperty, tx);
DataOperatorUtil.copySingleJBO(CUSTOMER_FAMILY.CLASS_NAME, familyFromCondtion, CUSTOMER_FAMILY_TEMP.CLASS_NAME, null, familyProperty, tx);
DataOperatorUtil.copySingleJBO(CUSTOMER_ADDRESS.CLASS_NAME, fromCondtion, CUSTOMER_ADDRESS_TEMP.CLASS_NAME, null, otherProperty, tx);
if("03".equals(this.getAttribute("CustomerType"))){ // ×ÔÈ»ÈË
DataOperatorUtil.copySingleJBO(CUSTOMER_PERSON.CLASS_NAME, fromCondtion, CUSTOMER_PERSON_TEMP.CLASS_NAME, null, personProperty, tx);