修复测算问题

This commit is contained in:
zhulh 2021-07-28 16:06:28 +08:00
parent 4ccaa7ecf5
commit fc377bde0a

View File

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