package com.tenwa.flow; import com.amarsoft.awe.util.Transaction; import com.tenwa.comm.util.jboutil.DataOperatorUtil; import com.tenwa.flow.baseBussion.BaseBussiness; import jbo.app.tenwa.calc.LC_CALC_CONDITION; import jbo.app.tenwa.calc.LC_CALC_CONDITION_HIS; import jbo.app.tenwa.calc.LC_DORMANT_RENT_ADJUST; import jbo.app.tenwa.calc.LC_DORMANT_RENT_ADJUST_TEMP; import java.util.HashMap; import java.util.Map; public class CopyDormantRentTempToFormal extends BaseBussiness{ /** * ×â½ðÐÝÃßÁÙʱ¿½Õýʽ * @param Sqlca * @return * @throws Exception */ @Override public Object run(Transaction Sqlca) throws Exception { this.initBussinessParam(Sqlca); MapfromCondtion=new HashMap(); fromCondtion.put("flowunid",this.getAttribute("FlowUnid").toString()); MapfromCondtion2=new HashMap(); fromCondtion2.put("contract_id",this.getAttribute("ContractId").toString()); MapotherProperty2=new HashMap(); otherProperty2.put("flowunid",this.getAttribute("FlowUnid").toString()); DataOperatorUtil.copySingleJBO(LC_DORMANT_RENT_ADJUST_TEMP.CLASS_NAME, fromCondtion, LC_DORMANT_RENT_ADJUST.CLASS_NAME, null, null, Sqlca); DataOperatorUtil.copySingleJBO(LC_CALC_CONDITION.CLASS_NAME, fromCondtion2, LC_CALC_CONDITION_HIS.CLASS_NAME, null, otherProperty2, Sqlca); String sMessage="true"; return sMessage; } }