From abc2076fbd7eb29181861c38bdef85a68ea16627 Mon Sep 17 00:00:00 2001 From: etreschenkov Date: Sat, 20 Jun 2026 00:15:11 +0300 Subject: [PATCH] http://jira.mfd.msk:8088/browse/CLS-1039 --- .../GatewayUpdateEksClientCodeValidationRule.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/validation/GatewayUpdateEksClientCodeValidationRule.java b/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/validation/GatewayUpdateEksClientCodeValidationRule.java index 71cf5bafe..86b48bcbf 100644 --- a/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/validation/GatewayUpdateEksClientCodeValidationRule.java +++ b/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/validation/GatewayUpdateEksClientCodeValidationRule.java @@ -86,7 +86,7 @@ public enum GatewayUpdateEksClientCodeValidationRule implements IValidationRule< ); if (accountSymbols == null) { - return of(AccountError.AccountNotFound, "depo_account"); + return of(AccountError.AccountNotFound, depoAccountVal); } Company company = context.getStoredObject(ClientCodeStoreObjects.COMPANY); Imdg imdg = context.obtainMap(IMDGDistributedNames.Map_DepoAccount, DepoAccount.class); @@ -98,10 +98,10 @@ public enum GatewayUpdateEksClientCodeValidationRule implements IValidationRule< ); if (depoAccount == null) { context.storeObject(ClientCodeStoreObjects.DEPO_ACCOUNT, Optional.empty()); - return of(AccountError.AccountNotFound, "depo_account"); + return of(AccountError.AccountNotFound, depoAccountVal); } if (!depoAccount.getAccountId().equals(tkr.getDepoAccountId())) { - return of(AccountError.DepoAccountChangeNotAllowed, depoAccount.getAccountId()); + return of(AccountError.DepoAccountChangeNotAllowed, tkr.getCode()); } } return empty(); @@ -248,7 +248,7 @@ public enum GatewayUpdateEksClientCodeValidationRule implements IValidationRule< ) ); if (account == null) { - return of(AccountError.AccountNotFound, request.getAccount()); + return of(AccountError.AccountNotFound, request.getEks_account()); } Collection tkrListByAccount = tkrList.getCollectionIdsByPredicate( predicateBuilder.and(