package com.tenwa.apzl.comm; import java.util.HashMap; import java.util.Map; import jbo.com.tenwa.lease.comm.LB_CAR_LICENSE_PLATE_INFO; import jbo.com.tenwa.lease.comm.LB_CAR_LICENSE_PLATE_INFO_TEMP; import com.amarsoft.awe.util.Transaction; import com.tenwa.comm.util.jboutil.DataOperatorUtil; import com.tenwa.flow.baseBussion.BaseBussiness; public class CopyLbCarLicensePlateTempToForm 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 fromCondtion = new HashMap(); fromCondtion.put("FLOWUNID", flowunid); Map toCondtion = new HashMap(); toCondtion.put("contract_id", contract_id); DataOperatorUtil.copySingleJBO(LB_CAR_LICENSE_PLATE_INFO_TEMP.CLASS_NAME, fromCondtion, LB_CAR_LICENSE_PLATE_INFO.CLASS_NAME, toCondtion, null, Sqlca); return "true"; } }