etreschenkov 2026-06-20 00:15:11 +03:00
parent 76a8600f2b
commit abc2076fbd

View file

@ -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<DepoAccount> 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<Long> tkrListByAccount = tkrList.getCollectionIdsByPredicate(
predicateBuilder.and(