更改起租后流程发起法人客户信息为空
This commit is contained in:
parent
706e635d8b
commit
45eed88835
@ -16,8 +16,10 @@
|
||||
var product_id=sReturn[2];
|
||||
var contract_number = sReturn[3];
|
||||
var project_name = sReturn[4];
|
||||
var carType = sReturn[5];
|
||||
var customerType = sReturn[6];
|
||||
var sParams = "applyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
|
||||
sParams =sParams+",ProjectId="+project_id+",FlowKey="+contract_number+",ProductId="+product_id+",ContractId="+contract_id+",ProjectName="+project_name;
|
||||
sParams =sParams+",customertype="+customerType+",carAttributes="+carType+",ProjectId="+project_id+",FlowKey="+contract_number+",ProductId="+product_id+",ContractId="+contract_id+",ProjectName="+project_name;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.contract.onhirechange.OnhireChangeFlowStartAction","initFLow",sParams);
|
||||
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;
|
||||
var sReturnInfos=sReturnInfo.split("@");
|
||||
|
||||
@ -8,6 +8,8 @@ import jbo.app.tenwa.customer.CUSTOMER_ADDRESS;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ADDRESS_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_CERT;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_CERT_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_COMPANY;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_COMPANY_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_FAMILY;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_PERSON;
|
||||
@ -30,9 +32,14 @@ public class LBCustomerRelaFormalToTempBusiness extends BaseBussiness {
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String customertype = "";
|
||||
Map<String,String>fromCondtion=this.getDefaultFormalToTempFromCondtion();
|
||||
Map<String,String> other=new HashMap<String, String>();
|
||||
other.put("flowunid",this.getAttribute("FlowUnid").toString());
|
||||
String flowName = this.getAttribute("FlowName").toString();
|
||||
if("Æð×âºóºÏͬ±ä¸üÆû³µ".equals(flowName)){
|
||||
customertype = this.getAttribute("customertype").toString();
|
||||
}
|
||||
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){
|
||||
@ -42,6 +49,9 @@ public class LBCustomerRelaFormalToTempBusiness extends BaseBussiness {
|
||||
DataOperatorUtil.copyJBOSet(CUSTOMER_CERT.CLASS_NAME, fromCondtion, CUSTOMER_CERT_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_ADDRESS.CLASS_NAME, fromCondtion, CUSTOMER_ADDRESS_TEMP.CLASS_NAME, null, other, null, Sqlca);
|
||||
if("01".equals(customertype)){
|
||||
DataOperatorUtil.copyJBOSet(CUSTOMER_COMPANY.CLASS_NAME, fromCondtion, CUSTOMER_COMPANY_TEMP.CLASS_NAME, null, other, null, Sqlca);
|
||||
}
|
||||
}
|
||||
for(BizObject unit:unitList){
|
||||
//担保人从正式表到临时表
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user