32 lines
1.1 KiB
Java
32 lines
1.1 KiB
Java
package com.tenwa.flow.fund.flowpayment;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
import com.amarsoft.awe.util.Transaction;
|
|
import com.tenwa.flow.baseBussion.BaseBussiness;
|
|
import com.tenwa.lease.flow.comm.service.LeaseFlowBaseService;
|
|
import com.tenwa.lease.flow.comm.service.ServiceOperatorEnum;
|
|
import com.tenwa.lease.flow.comm.serviceImp.LeaseFlowBaseServiceImp;
|
|
/**
|
|
* 拷贝资金计划数据到临时表
|
|
* @author zhulh
|
|
*
|
|
*/
|
|
|
|
public class CopyFundPlanToTemp extends BaseBussiness{
|
|
public Object run(Transaction Sqlca) throws Exception{
|
|
this.initBussinessParam(Sqlca.getTransaction());
|
|
String sFlowUnid = (String)this.getAttribute("ObjectNo");
|
|
String contract_id = (String)this.getAttribute("ContractId");
|
|
Map<String,String> fromCondtion = new HashMap<String, String>();
|
|
fromCondtion.put("contract_id", contract_id);
|
|
Map<String,String> otherProperty = new HashMap<String,String>();
|
|
otherProperty.put("FlowUnid", sFlowUnid);
|
|
LeaseFlowBaseService service=new LeaseFlowBaseServiceImp();
|
|
service.copyOrLoadFundPlan(Sqlca, fromCondtion, null , otherProperty, ServiceOperatorEnum.FormalToTemp,null);
|
|
String sMessage="true";
|
|
return sMessage;
|
|
}
|
|
}
|