package com.tenwa.flow.action.comm; import java.util.HashMap; import java.util.Map; import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO; import com.amarsoft.awe.util.Transaction; import com.tenwa.comm.util.jboutil.DataOperatorUtil; import com.tenwa.flow.baseBussion.BaseBussiness; public class CopyLbContractInfoToTemp extends BaseBussiness{ @Override public Object run(Transaction Sqlca) throws Exception { this.initBussinessParam(Sqlca); String id = this.getAttribute("ContractId").toString(); String flowunid = this.getAttribute("ObjectNo").toString(); Map fromCondtion = new HashMap(); fromCondtion.put("ID", id); Map otherProperty = new HashMap(); otherProperty.put("FLOWUNID", flowunid); DataOperatorUtil.copySingleJBO(LB_CONTRACT_INFO.CLASS_NAME, fromCondtion, jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO_TEMP.CLASS_NAME, null, otherProperty, Sqlca); return "true"; } }