adamsaghy commented on code in PR #4783:
URL: https://github.com/apache/fineract/pull/4783#discussion_r2155233186
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/account/domain/AccountTransferRepository.java:
##########
@@ -39,4 +39,8 @@ public interface AccountTransferRepository
@Query("select att from AccountTransferTransaction att where
att.fromLoanTransaction.id IN :loanTransactions and att.reversed=false")
List<AccountTransferTransaction>
findByFromLoanTransactions(@Param("loanTransactions") Collection<Long>
loanTransactions);
+
+ @Query("select min(att.id) from AccountTransferTransaction att where
att.accountTransferDetails.fromSavingsAccount.id = :savingsId and
att.reversed=false")
+ Long fetchIdByFromSavingsAccountId(@Param("savingsId") Long savingsId);
Review Comment:
What is this? Seems unrelated!
--
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]