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