From 3ccc464d405616996125d34f537c4a72ff876b72 Mon Sep 17 00:00:00 2001 From: tangft <32189@DESKTOP-M6TAG3K> Date: Fri, 21 Dec 2018 10:07:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=89=8D=E7=BB=93=E6=B8=85=E5=AD=98?= =?UTF-8?q?=E5=82=A8=E8=BF=87=E7=A8=8B=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commbusiness/AdvanceSettleChangRent.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src_tenwa/com/tenwa/lease/flow/project/commbusiness/AdvanceSettleChangRent.java diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/AdvanceSettleChangRent.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/AdvanceSettleChangRent.java new file mode 100644 index 000000000..4989d95c4 --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/AdvanceSettleChangRent.java @@ -0,0 +1,21 @@ +package com.tenwa.lease.flow.project.commbusiness; + + +import com.amarsoft.awe.util.ASResultSet; +import com.amarsoft.awe.util.SqlObject; +import com.amarsoft.awe.util.Transaction; +import com.tenwa.flow.baseBussion.BaseBussiness; + +public class AdvanceSettleChangRent extends BaseBussiness{ + + @Override + public Object run(Transaction Sqlca) throws Exception { + Transaction tx =null; + tx = Transaction.createTransaction(Sqlca); + String SQL="{call proc_terminate_bill_income('"+(String)this.getAttribute("ContractId")+"','"+(String)this.getAttribute("FlowUnid")+"','"+(String)this.getAttribute("CurUserID")+"','')} "; + SqlObject asql = new SqlObject(SQL); + ASResultSet rs = null; + rs = tx.getASResultSet(asql); + return "true"; + } +}