去除关闭连接

This commit is contained in:
lixuebo 2019-08-20 15:35:14 +08:00
parent 9219acaed1
commit 5e30e97f2e

View File

@ -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();
}