add note about query for transactions data in deposit account cases.

This commit is contained in:
Keith Woodlock
2012-09-11 21:12:16 +01:00
parent 5154e87b23
commit 32e4a2ce64
@@ -84,6 +84,8 @@ public class DepositAccountReadPlatformServiceImpl implements DepositAccountRead
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();
String transactionSchema = "select " + transactionMapper.schema() + " where txn.deposit_account_id = ? ";