apzl_leasing/src_tenwa/com/tenwa/flow/fund/copyebank/CopyEbankInfoToProcess.java
2018-06-03 22:26:41 +08:00

39 lines
1.4 KiB
Java

package com.tenwa.flow.fund.copyebank;
import java.util.HashMap;
import java.util.Map;
import com.amarsoft.awe.util.Transaction;
import com.amarsoft.biz.bizlet.Bizlet;
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 CopyEbankInfoToProcess extends BaseBussiness{
public Object run(Transaction Sqlca) throws Exception{
this.initBussinessParam(Sqlca.getTransaction());
String sFlowUnid = (String)this.getAttribute("ObjectNo");
String userID = (String)this.getAttribute("UserID");
String orgID = (String)this.getAttribute("OrgID");
String id = (String)this.getAttribute("ebank_number");
String flow_name = (String)this.getAttribute("FlowName");
Map<String,String> fromCondtion = new HashMap<String, String>();
fromCondtion.put("id",id);
fromCondtion.put("userID",userID);
fromCondtion.put("orgID",orgID);
Map<String,String> otherProperty = new HashMap<String,String>();
otherProperty.put("FlowUnid", sFlowUnid);
otherProperty.put("flow_name", flow_name);
LeaseFlowBaseService service=new LeaseFlowBaseServiceImp();
service.copyEbankInfoToProcess(Sqlca, fromCondtion, null,otherProperty, ServiceOperatorEnum.FormalToTemp);
String sMessage="true";
return sMessage;
}
}