apzl_leasing/src_tenwa/com/tenwa/apzl/comm/CopyFileArchivingInfoTempToFormat.java
2018-10-15 15:29:15 +08:00

31 lines
1.1 KiB
Java

package com.tenwa.apzl.comm;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import jbo.app.LB_FILE_ARCHIVING_INFO_TEMP;
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.awe.util.Transaction;
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
import com.tenwa.flow.baseBussion.BaseBussiness;
public class CopyFileArchivingInfoTempToFormat extends BaseBussiness{
@Override
public Object run(Transaction Sqlca) throws Exception {
this.initBussinessParam(Sqlca);
String contract_id = this.getAttribute("ContractId").toString();
//String flowunid = this.getAttribute("ObjectNo").toString();
Map<String,String> fromCondtion = new HashMap<String, String>();
fromCondtion.put("contract_id", contract_id);
DataOperatorUtil.copySingleJBO("jbo.app.LB_FILE_ARCHIVING_INFO_TEMP", fromCondtion, "jbo.com.tenwa.lease.comm.LB_FILE_ARCHIVING_INFO", null, null, Sqlca);
return "true";
}
}