From fc377bde0ab1171d80eaf768f827fd9e17871a51 Mon Sep 17 00:00:00 2001 From: zhulh Date: Wed, 28 Jul 2021 16:06:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E7=AE=97=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java b/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java index 7a7813894..3591c6730 100644 --- a/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java +++ b/calc/com/tenwa/reckon/executor/SegmentedFinancingExecutor.java @@ -145,7 +145,7 @@ public class SegmentedFinancingExecutor extends FundRentPlanExecutor { boLSRPT.setAttributeValue( "INTEREST_BUSINESS", interest.toString() ); boLSRPT.setAttributeValue( "SUBSECTION_NUMBER", subsectionNumber ); bomLSRPT.saveObject( boLSRPT ); - if ( interests.size() - 1 > i ) { + if ( interests.size() > i ) { interests.set( i, new BigDecimal( interests.get( i ) ).add( interest ).toString() ); corpuss.set( i, new BigDecimal( corpuss.get( i ) ).add( corpus ).toString() ); overCorpuss.set( i, new BigDecimal( overCorpuss.get( i ) ).add( cleanLeaseMoney ).toString() );