fix crud operations on BankAccount
This commit is contained in:
parent
cfbd12ccc5
commit
fce1b1d28b
1 changed files with 2 additions and 0 deletions
|
|
@ -110,6 +110,8 @@ public class BankAccountService extends QueueConsumer implements InitializingBea
|
|||
account.setUpdated(Instant.now());
|
||||
|
||||
accountMap.insert(account);
|
||||
|
||||
bankAccount.setAccountId(account.getId());
|
||||
bankAccountMap.insert(bankAccount);
|
||||
log.debug("successfully processed, new id {}", bankAccount.getId());
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue