FINERACT-2354: Introduce reaging preview API
This commit is contained in:
committed by
Adam Saghy
parent
ed8e9d1376
commit
3efafa778e
+8
@@ -64,4 +64,12 @@ public interface LoanRepaymentScheduleInstallmentRepository
|
||||
@Param("businessDate") LocalDate businessDate, @Param("obligationsMet") boolean obligationsMet,
|
||||
@Param("loanIds") List<Long> loanIds);
|
||||
|
||||
@Query("""
|
||||
SELECT i
|
||||
FROM LoanRepaymentScheduleInstallment i
|
||||
WHERE i.loan.id = :loanId
|
||||
ORDER BY i.loan.id, i.installmentNumber
|
||||
""")
|
||||
List<LoanRepaymentScheduleInstallment> findByLoanId(@Param("loanId") Long loanId);
|
||||
|
||||
}
|
||||
|
||||
+2
@@ -32,6 +32,8 @@ public interface ReprocessLoanTransactionsService {
|
||||
|
||||
void reprocessTransactionsWithPostTransactionChecks(Loan loan, LocalDate transactionDate);
|
||||
|
||||
void reprocessTransactionsWithoutChecks(Loan loan, LocalDate transactionDate, List<LoanTransaction> newTransactions);
|
||||
|
||||
void processPostDisbursementTransactions(Loan loan);
|
||||
|
||||
void removeLoanCharge(Loan loan, LoanCharge loanCharge);
|
||||
|
||||
Reference in New Issue
Block a user