Mk9894 commented on code in PR #3158:
URL: https://github.com/apache/fineract/pull/3158#discussion_r1191884820
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/service/SavingsAccountReadPlatformServiceImpl.java:
##########
@@ -1267,6 +1270,99 @@ public Collection<SavingsAccountTransactionData>
retrieveAllTransactions(final L
return this.jdbcTemplate.query(sql, this.transactionsMapper, new
Object[] { savingsId, depositAccountType.getValue() }); // NOSONAR
}
+ @Override
+ public Page<SavingsAccountTransactionData> retrieveAllTransactions(final
Long savingsId, DepositAccountType depositAccountType,
+ SearchParameters searchParameters, LocalDate fromDate, LocalDate
toDate,
+ @DecimalMin(value = "0", message = "must be greater than or equal
to 0") BigDecimal fromAmount,
+ @DecimalMin(value = "0", message = "must be greater than or equal
to 0") BigDecimal toAmount, String transactionType) {
+
+ final StringBuilder sqlBuilder = new StringBuilder(200);
Review Comment:
Hey @adamsaghy Thanks for your response. I tried using JPA specifications.
But when i try to build the code, i get license violation! Does this mean I
wont be able to use JPA specifications?
--
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]