adamsaghy commented on code in PR #4419:
URL: https://github.com/apache/fineract/pull/4419#discussion_r1980208975


##########
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/LoanRepository.java:
##########
@@ -80,7 +80,7 @@ public interface LoanRepository extends JpaRepository<Loan, 
Long>, JpaSpecificat
 
     String FIND_BY_ACCOUNT_NUMBER = "select loan from Loan loan where 
loan.accountNumber = :accountNumber";
 
-    String FIND_LOAN_ID_AND_EXTERNAL_ID_AND_STATUS = "select new 
org.apache.fineract.cob.data.LoanIdAndExternalIdAndStatus(loan.id, 
loan.externalId, loan.loanStatus) from Loan loan where loan.id = :loanId";
+    String FIND_LOAN_DATA_FOR_EXTERNAL_TRANSFER = "select new 
org.apache.fineract.cob.data.LoanDataForExternalTransfer(loan.id, 
loan.externalId, loan.loanStatus, loan.loanProduct.id, 
loan.loanProduct.shortName) from Loan loan where loan.id = :loanId";

Review Comment:
   Should this to be moved into investor module?



-- 
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]

Reply via email to