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

34 lines
1.2 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 CopyEbankInfoToTemp extends BaseBussiness{
public Object run(Transaction Sqlca) throws Exception{
this.initBussinessParam(Sqlca.getTransaction());
String sFlowUnid = (String)this.getAttribute("ObjectNo");
String id = (String)this.getAttribute("ebank_number");
Map<String,String> fromCondtion = new HashMap<String, String>();
fromCondtion.put("id",id);
Map<String,String> otherProperty = new HashMap<String,String>();
otherProperty.put("FlowUnid", sFlowUnid);
// otherProperty.put("ID", id);
LeaseFlowBaseService service=new LeaseFlowBaseServiceImp();
service.copyEbankInfo(Sqlca, fromCondtion, null,otherProperty, ServiceOperatorEnum.FormalToTemp);
String sMessage="true";
return sMessage;
}
}