From 5e30e97f2ef3c3b9f199045125faff4c66caac57 Mon Sep 17 00:00:00 2001 From: lixuebo Date: Tue, 20 Aug 2019 15:35:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=85=B3=E9=97=AD=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calc/com/tenwa/reckon/executor/CashFlowExecutor.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/calc/com/tenwa/reckon/executor/CashFlowExecutor.java b/calc/com/tenwa/reckon/executor/CashFlowExecutor.java index 7e329ddfe..e8f9d7053 100644 --- a/calc/com/tenwa/reckon/executor/CashFlowExecutor.java +++ b/calc/com/tenwa/reckon/executor/CashFlowExecutor.java @@ -36,7 +36,6 @@ public class CashFlowExecutor { this.add(cb, tcb); String irr = this.getIrr(cb,tcb); cb.setIrr(irr); - tx.commit(); return irr; } private String getIrr(ConditionBean cb ,TabCalBean tcb) throws Exception{ @@ -179,7 +178,6 @@ public class CashFlowExecutor { Sqlca = Transaction.createTransaction(tx); SqlObject asql = new SqlObject(sql); Sqlca.executeSQL(asql); - Sqlca.commit(); }