etreschenkov 2024-10-02 19:29:57 +03:00
parent c6767821aa
commit 345feb19b8

View file

@ -153,7 +153,7 @@ public class AccountService extends QueueConsumer implements InitializingBean {
ImdgPredicateBuilder pb = accountMap.predicateBuilder(); ImdgPredicateBuilder pb = accountMap.predicateBuilder();
ImdgPredicate andPredicate = pb.and( ImdgPredicate andPredicate = pb.and(
pb.equals("accountType", AccountType.Anlt.getKey()), pb.equals("accountType", AccountType.Anlt.getKey()),
pb.equals("currency", currency) pb.equals("currency", currency.getCurrencyCode())
); );
Collection<Account> accountsAnlt = accountMap.getCollectionObjectsByPredicate(andPredicate); Collection<Account> accountsAnlt = accountMap.getCollectionObjectsByPredicate(andPredicate);
if (accountsAnlt.isEmpty()) { if (accountsAnlt.isEmpty()) {