From d34510fd95554410aa87e58bf4b44e609473c20f Mon Sep 17 00:00:00 2001 From: tangft <32189@DESKTOP-M6TAG3K> Date: Fri, 18 Jan 2019 10:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E9=87=91=E8=AE=A1=E5=88=92=E4=BB=8E?= =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E8=A1=A8=E5=88=B0=E4=B8=B4=E6=97=B6=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LBRentPlanFormalToHisBusiness.java | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src_tenwa/com/tenwa/lease/flow/contract/onhirechange/LBRentPlanFormalToHisBusiness.java diff --git a/src_tenwa/com/tenwa/lease/flow/contract/onhirechange/LBRentPlanFormalToHisBusiness.java b/src_tenwa/com/tenwa/lease/flow/contract/onhirechange/LBRentPlanFormalToHisBusiness.java new file mode 100644 index 000000000..a31aee683 --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/contract/onhirechange/LBRentPlanFormalToHisBusiness.java @@ -0,0 +1,29 @@ +package com.tenwa.lease.flow.contract.onhirechange; + +import java.util.HashMap; +import java.util.Map; + +import jbo.app.tenwa.calc.LC_RENT_PLAN; +import jbo.app.tenwa.calc.LC_RENT_PLAN_HIS; + +import com.amarsoft.awe.util.Transaction; +import com.tenwa.comm.util.jboutil.DataOperatorUtil; +import com.tenwa.flow.baseBussion.BaseBussiness; + +public class LBRentPlanFormalToHisBusiness extends BaseBussiness { + + @Override + public Object run(Transaction Sqlca) throws Exception { + this.initBussinessParam(Sqlca); + String flowUnid=this.getAttribute("ObjectNo").toString(); + Map fromCondtion=new HashMap(); + fromCondtion.putIfAbsent("CONTRACT_ID", this.getAttribute("ContractId").toString()); + + Map otherProperty=new HashMap(); + otherProperty.put("FLOWUNID", flowUnid); + + DataOperatorUtil.copyJBOSet(LC_RENT_PLAN.CLASS_NAME, fromCondtion, LC_RENT_PLAN_HIS.CLASS_NAME,null, otherProperty, null, Sqlca); + String sMessage="true"; + return sMessage; + } +} \ No newline at end of file