From 2ac98d9f392ca3c1603ad369d777a62c79fbe233 Mon Sep 17 00:00:00 2001 From: etreschenkov Date: Mon, 16 Jun 2025 16:38:32 +0300 Subject: [PATCH] http://jira.mfd.msk:8088/browse/CLS-861 --- .../BankAccountValidationConfig.java | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java b/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java index 4b8856552..6713d5fee 100644 --- a/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java +++ b/clearing-parent/account-service/src/main/java/ru/spcex/clearing/account/config/validation/BankAccountValidationConfig.java @@ -71,37 +71,37 @@ public class BankAccountValidationConfig { AccountError.RequiredFieldEmpty, AccountError.DictionaryNotFound, false), - ValidateSymbolsRule.required("bankIdentificationCode", + ValidateSymbolsRule.required("БИК", BankAccountNewRequest::getBankIdentificationCode, AccountError.RequiredFieldEmpty, AccountError.BadSymbol), - ValidateSymbolsRule.required("bankName", + ValidateSymbolsRule.required("Наименование компании", BankAccountNewRequest::getBankName, AccountError.RequiredFieldEmpty, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("correspondentAccount", + ValidateSymbolsRule.notRequired("Корр. счет", BankAccountNewRequest::getCorrespondentAccount, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("correspondentAccountName", + ValidateSymbolsRule.notRequired("Наименование корр. счета", BankAccountNewRequest::getCorrespondentAccountName, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("destination", + ValidateSymbolsRule.notRequired("Назначение платежа", BankAccountNewRequest::getDestination, AccountError.BadSymbol), - ValidateSymbolsRule.required("account", + ValidateSymbolsRule.required("Счет", BankAccountNewRequest::getAccount, AccountError.RequiredFieldEmpty, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("taxpayerIdentificationNumber", + ValidateSymbolsRule.notRequired("ИНН", BankAccountNewRequest::getTaxpayerIdentificationNumber, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("taxRegistrationReasonCode", + ValidateSymbolsRule.notRequired("КПП", BankAccountNewRequest::getTaxRegistrationReasonCode, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("swiftCode", + ValidateSymbolsRule.notRequired("SWIFT", BankAccountNewRequest::getSwiftCode, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("intermediarySwiftCode", + ValidateSymbolsRule.notRequired("SWIFT посредника", BankAccountNewRequest::getIntermediarySwiftCode, AccountError.BadSymbol) ); @@ -145,34 +145,34 @@ public class BankAccountValidationConfig { AccountError.RequiredFieldEmpty, AccountError.DictionaryNotFound, false), - ValidateSymbolsRule.notRequired("bankIdentificationCode", + ValidateSymbolsRule.notRequired("БИК", BankAccountUpdateRequest::getBankIdentificationCode, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("bankName", + ValidateSymbolsRule.notRequired("Наименование компании", BankAccountUpdateRequest::getBankName, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("correspondentAccount", + ValidateSymbolsRule.notRequired("Корр. счет", BankAccountUpdateRequest::getCorrespondentAccount, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("correspondentAccountName", + ValidateSymbolsRule.notRequired("Наименование корр. счета", BankAccountUpdateRequest::getCorrespondentAccountName, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("destination", + ValidateSymbolsRule.notRequired("Назначение платежа", BankAccountUpdateRequest::getDestination, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("account", + ValidateSymbolsRule.notRequired("Счет", BankAccountUpdateRequest::getAccount, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("taxpayerIdentificationNumber", + ValidateSymbolsRule.notRequired("ИНН", BankAccountUpdateRequest::getTaxpayerIdentificationNumber, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("taxRegistrationReasonCode", + ValidateSymbolsRule.notRequired("КПП", BankAccountUpdateRequest::getTaxRegistrationReasonCode, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("swiftCode", + ValidateSymbolsRule.notRequired("SWIFT", BankAccountUpdateRequest::getSwiftCode, AccountError.BadSymbol), - ValidateSymbolsRule.notRequired("intermediarySwiftCode", + ValidateSymbolsRule.notRequired("SWIFT посредника", BankAccountUpdateRequest::getIntermediarySwiftCode, AccountError.BadSymbol) );