etreschenkov 2026-05-26 17:24:53 +03:00
parent 0a4d7996e3
commit a44c6072a3

View file

@ -151,7 +151,8 @@ public enum GatewayEksClientCodeValidationRule implements IValidationRule<ImdgVa
Account anltAcc = accountImdg.getFirstObjectByPredicate( Account anltAcc = accountImdg.getFirstObjectByPredicate(
predicateBuilder.and( predicateBuilder.and(
predicateBuilder.equals("accountType", AccountType.Anlt.getKey()), predicateBuilder.equals("accountType", AccountType.Anlt.getKey()),
predicateBuilder.equals("currency", moneyAccount.getCurrCode()) predicateBuilder.equals("currency", moneyAccount.getCurrCode()),
predicateBuilder.equals("account", moneyAccount.getEks_account())
)); ));
if (anltAcc == null) { if (anltAcc == null) {
return of(AccountError.AccountNotFound, moneyAccount.getAccount()); return of(AccountError.AccountNotFound, moneyAccount.getAccount());