adamsaghy commented on code in PR #3411:
URL: https://github.com/apache/fineract/pull/3411#discussion_r1310130709
##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccountRepository.java:
##########
@@ -66,4 +66,7 @@ SavingsAccount
findByIdAndDepositAccountType(@Param("accountId") Long accountId,
Page<SavingsAccount> findByStatus(Integer status, Pageable pageable);
SavingsAccount findByExternalId(String externalId);
+
+ @Query("SELECT sa.id FROM SavingsAccount sa WHERE sa.externalId =
:externalId")
+ Long findIdByExternalId(@Param("externalId") String externalId);
Review Comment:
Please use `ExternalId` type here
--
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]