add note about query for transactions data in deposit account cases.
This commit is contained in:
+2
@@ -84,6 +84,8 @@ public class DepositAccountReadPlatformServiceImpl implements DepositAccountRead
|
|||||||
|
|
||||||
DepositAccountData depositAccountData = this.jdbcTemplate.queryForObject(sql, mapper, new Object[] { accountId });
|
DepositAccountData depositAccountData = this.jdbcTemplate.queryForObject(sql, mapper, new Object[] { accountId });
|
||||||
|
|
||||||
|
// FIXME - kw - the call to find transactions for deposit account to add to the deposit account payload can be decided at the api level
|
||||||
|
// depending on whether the requester wants them or not instead of always getting the transactions
|
||||||
DepositAccountTransactionMapper transactionMapper = new DepositAccountTransactionMapper();
|
DepositAccountTransactionMapper transactionMapper = new DepositAccountTransactionMapper();
|
||||||
String transactionSchema = "select " + transactionMapper.schema() + " where txn.deposit_account_id = ? ";
|
String transactionSchema = "select " + transactionMapper.schema() + " where txn.deposit_account_id = ? ";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user