存量客户配偶信息在合同制作不显示

This commit is contained in:
tangft 2019-04-09 20:03:04 +08:00
parent b33378aa0e
commit 970584681a
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@ public class LBCustomerRelaProjToContractBusiness extends BaseBussiness {
Map<String,String> other=new HashMap<String, String>();
other.put("flowunid",this.getAttribute("FlowUnid").toString());
DataOperatorUtil.copyJBOSet(LB_GUARANTEE_UNIT.CLASS_NAME, fromCondtion, LB_GUARANTEE_UNIT_TEMP.CLASS_NAME, null, other, null,Sqlca);
DataOperatorUtil.copyJBOSet(CUSTOMER_FAMILY.CLASS_NAME, fromCondtion, CUSTOMER_FAMILY_TEMP.CLASS_NAME, null, other, null, Sqlca);
// DataOperatorUtil.copyJBOSet(CUSTOMER_FAMILY.CLASS_NAME, fromCondtion, CUSTOMER_FAMILY_TEMP.CLASS_NAME, null, other, null, Sqlca);
List<BizObject> unionList= DataOperatorUtil.getSetJBO(LB_UNION_LESSEE.CLASS_NAME, fromCondtion, Sqlca);
//List<BizObject> unitList=DataOperatorUtil.getSetJBO(LB_GUARANTEE_UNIT.CLASS_NAME, fromCondtion, Sqlca);
for(BizObject union:unionList){
@ -45,6 +45,7 @@ public class LBCustomerRelaProjToContractBusiness extends BaseBussiness {
DataOperatorUtil.copyJBOSet(CUSTOMER_PERSON.CLASS_NAME, fromCondtion, CUSTOMER_PERSON_TEMP.CLASS_NAME, null, other, null, Sqlca);
DataOperatorUtil.copyJBOSet(CUSTOMER_CERT.CLASS_NAME, fromCondtion, CUSTOMER_CERT_TEMP.CLASS_NAME, null, other, null, Sqlca);
DataOperatorUtil.copyJBOSet(CUSTOMER_ADDRESS.CLASS_NAME, fromCondtion, CUSTOMER_ADDRESS_TEMP.CLASS_NAME, null, other, null, Sqlca);
DataOperatorUtil.copyJBOSet(CUSTOMER_FAMILY.CLASS_NAME, fromCondtion, CUSTOMER_FAMILY_TEMP.CLASS_NAME, null, other, null, Sqlca);
}
/* for(BizObject unit:unitList){
fromCondtion.clear();

View File

@ -42,7 +42,7 @@ public class LBProjectIntoTempToFormalCarBusiness extends BaseBussiness {
otherProperty.put("project_status", "13");
service.copyOrLoadProjectInfo(Sqlca, fromCondtion, toCondtion,otherProperty, ServiceOperatorEnum.TempToFormal);
service.copyOrLoadGuaranteeUnit(Sqlca, fromCondtion, null,null, ServiceOperatorEnum.TempToFormal, null);
DataOperatorUtil.copyJBOSet(CUSTOMER_FAMILY_TEMP.CLASS_NAME, fromCondtion,CUSTOMER_FAMILY.CLASS_NAME, null, null,null, Sqlca);
// DataOperatorUtil.copyJBOSet(CUSTOMER_FAMILY_TEMP.CLASS_NAME, fromCondtion,CUSTOMER_FAMILY.CLASS_NAME, null, null,null, Sqlca);
String flowname=(String)this.getAttribute("FlowName");
if("业务申请流程".equals(flowname)){
BizObjectManager catMange = JBOFactory.getBizObjectManager(CUSTOMER_ACCOUNT_TEMP.CLASS_NAME, Sqlca);