This commit is contained in:
parent
4e5e2a35b4
commit
62b3b419f1
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ public enum GatewayEksClientCodeValidationRule implements IValidationRule<ImdgVa
|
|||
Imdg<TradingClearingRegistry> tradingClearingRegistryImdg = context.obtainMap(IMDGDistributedNames.Map_TradingClearingRegistry, TradingClearingRegistry.class);
|
||||
ImdgPredicateBuilder predicateBuilder = tradingClearingRegistryImdg.predicateBuilder();
|
||||
Collection<Long> tkrIds = tradingClearingRegistryImdg.getCollectionIdsByPredicate(
|
||||
predicateBuilder.equals("depoAccountId", depoAccount.get().getId())
|
||||
predicateBuilder.equals("depoAccountId", depoAccount.get().getAccountId())
|
||||
);
|
||||
if (tkrIds != null && !tkrIds.isEmpty()) {
|
||||
return of(AccountError.AccountForTradingClearingRegistryAlreadyUsed, depoAccount.get().getId());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue