|
@@ -441,7 +441,7 @@ public class ProjectLibManage { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private BigDecimal computeAmount(BigDecimal cuurentAmount,List<ProjectRenewalFundDeclaration> prfs) { |
|
|
private BigDecimal computeAmount(BigDecimal cuurentAmount,List<ProjectRenewalFundDeclaration> prfs) { |
|
|
BigDecimal res = cuurentAmount; |
|
|
|
|
|
|
|
|
BigDecimal res = Objects.isNull(cuurentAmount) ? BigDecimal.ZERO : cuurentAmount; |
|
|
for(ProjectRenewalFundDeclaration prf : prfs){ |
|
|
for(ProjectRenewalFundDeclaration prf : prfs){ |
|
|
res = res.add(prf.getAnnualPaymentAmount()); |
|
|
res = res.add(prf.getAnnualPaymentAmount()); |
|
|
} |
|
|
} |
|
|