接口平台业务申请
This commit is contained in:
parent
b501444c46
commit
617924dce3
@ -20,7 +20,6 @@ import jbo.sys.PF_CUSTOMER_FAMILY;
|
||||
import jbo.sys.PF_CUSTOMER_PERSON;
|
||||
import jbo.sys.PF_GUARANTEE_UNIT;
|
||||
import jbo.sys.PF_PROJECT_INFO;
|
||||
|
||||
import com.amarsoft.app.als.sys.tools.DateUtil;
|
||||
import com.amarsoft.app.util.ProductParamUtil;
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
@ -88,24 +87,20 @@ public class PlatformDataToTemp extends BaseBussiness {
|
||||
/**判断客户类型*/
|
||||
if("03".equals(customerType)){
|
||||
/**配偶信息拷表*/
|
||||
String marriage = Sqlca.getString("select MARRIAGE from PF_CUSTOMER_PERSON where SERIAL='"+serial+"'");
|
||||
String marriage = Sqlca.getString("select MARRIAGE from PF_CUSTOMER_PERSON where "+boKey+"='"+boValue+"'");
|
||||
/**判断是否已婚*/
|
||||
if("01".equals(marriage)){
|
||||
fromCondtion.put("Spouse_","Y");
|
||||
toCondtion.put("Spouse_","Y");
|
||||
DataOperatorUtil.copySingleJBO(PF_CUSTOMER_FAMILY.CLASS_NAME,fromCondtion,CUSTOMER_FAMILY_TEMP.CLASS_NAME,toCondtion,otherProperty,Sqlca);
|
||||
}else{
|
||||
Sqlca.executeSQL(new SqlObject("delete from CUSTOMER_FAMILY_TEMP where flowunid="+flowunid+" and Spouse_='Y'"));
|
||||
}
|
||||
|
||||
/**共同申请人信息拷表*/
|
||||
fromCondtion.put("Spouse_","N");
|
||||
toCondtion.put("Spouse_","N");
|
||||
DataOperatorUtil.copySingleJBO(PF_CUSTOMER_FAMILY.CLASS_NAME,fromCondtion,CUSTOMER_FAMILY_TEMP.CLASS_NAME,toCondtion,otherProperty,Sqlca);
|
||||
fromCondtion.remove("Spouse_");
|
||||
toCondtion.remove("Spouse_");
|
||||
|
||||
/**自然人基本信息拷表*/
|
||||
fromCondtion.remove("Spouse_");
|
||||
toCondtion.remove("Spouse_");
|
||||
otherProperty.remove("PROJECT_ID");
|
||||
|
||||
otherProperty.put("CERTTYPE",this.getAttribute("certtype").toString());
|
||||
otherProperty.put("CERTID",this.getAttribute("certid").toString());
|
||||
otherProperty.put("INPUTUSERID",asUser.getUserID());
|
||||
@ -140,8 +135,24 @@ public class PlatformDataToTemp extends BaseBussiness {
|
||||
DataOperatorUtil.copySingleJBO(PF_CUSTOMER_ADDRESS.CLASS_NAME,fromCondtion,CUSTOMER_ADDRESS_TEMP.CLASS_NAME,toCondtion,otherProperty,Sqlca);
|
||||
}
|
||||
|
||||
/**¹²Í¬ÉêÇëÈËÐÅÏ¢¿½±í*/
|
||||
Sqlca.executeSQL(new SqlObject("DELETE FROM CUSTOMER_FAMILY_TEMP WHERE flowunid='"+flowunid+"' AND Spouse_='N'"));
|
||||
fromCondtion.clear();
|
||||
fromCondtion.put(boKey,boValue);
|
||||
fromCondtion.put("Spouse_","N");
|
||||
toCondtion.clear();
|
||||
toCondtion.put("customerid",customerId);
|
||||
toCondtion.put("flowunid",flowunid);
|
||||
toCondtion.put("Spouse_","N");
|
||||
otherProperty.clear();
|
||||
otherProperty.put("customerid",customerId);
|
||||
otherProperty.put("flowunid",flowunid);
|
||||
otherProperty.put("PROJECT_ID",projectId);
|
||||
DataOperatorUtil.copySingleJBO(PF_CUSTOMER_FAMILY.CLASS_NAME,fromCondtion,CUSTOMER_FAMILY_TEMP.CLASS_NAME,toCondtion,otherProperty,Sqlca);
|
||||
|
||||
/**担保人信息拷表*/
|
||||
Sqlca.executeSQL(new SqlObject("delete from LB_GUARANTEE_UNIT_TEMP where flowunid='"+flowunid+"'"));
|
||||
fromCondtion.clear();
|
||||
otherProperty.clear();
|
||||
otherProperty.put("FLOWUNID",flowunid);
|
||||
otherProperty.put("PROJECT_ID",projectId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user