galovics commented on code in PR #2436:
URL: https://github.com/apache/fineract/pull/2436#discussion_r928292243
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccountTransactionRepository.java:
##########
@@ -44,4 +44,8 @@ List<SavingsAccountTransaction>
findTransactionsAfterPivotDate(@Param("savingsAc
@Query("select sat from SavingsAccountTransaction sat where sat.refNo =
:refNo")
List<SavingsAccountTransaction> findAllTransactionByRefNo(@Param("refNo")
String refNo);
+
+ @Query("select sat from SavingsAccountTransaction sat where
sat.savingsAccount.id = :savingsId and sat.dateOf <= :transactionDate and
sat.reversed=0 ORDER BY sat.dateOf DESC")
Review Comment:
`sat.reversed=0` should be `sat.reversed=false`
--
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]