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 fromCondtion = new HashMap(); fromCondtion.put("id",id); fromCondtion.put("userID",userID); fromCondtion.put("orgID",orgID); Map otherProperty = new HashMap(); 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; } }