adamsaghy commented on code in PR #2668:
URL: https://github.com/apache/fineract/pull/2668#discussion_r1003135492


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanRepaymentScheduleInstallmentRepository.java:
##########
@@ -26,9 +26,17 @@
 public interface LoanRepaymentScheduleInstallmentRepository
         extends JpaRepository<LoanRepaymentScheduleInstallment, Long>, 
JpaSpecificationExecutor<LoanRepaymentScheduleInstallment> {
 
+    // Past Installments
+    List<LoanRepaymentScheduleInstallment> 
findByLoanAndDueDateLessThanEqualAndObligationsMetOnDateOrderByDueDate(Loan 
loan,
+            LocalDate businnessDate, LocalDate obligationsMetOnDate);
+
     LoanRepaymentScheduleInstallment 
findFirstByLoanAndDueDateLessThanEqualAndObligationsMetOnDateOrderByDueDate(Loan
 loan,
             LocalDate businnessDate, LocalDate obligationsMetOnDate);
 
-    List<LoanRepaymentScheduleInstallment> 
findByLoanAndDueDateLessThanEqualAndObligationsMetOnDateOrderByDueDate(Loan 
loan,
+    // Future Installments
+    List<LoanRepaymentScheduleInstallment> 
findByLoanAndDueDateGreaterThanEqualOrderByDueDate(Loan loan, LocalDate 
businnessDate);

Review Comment:
   unused



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to