etreschenkov 2026-04-28 13:02:14 +03:00
parent 25a124fa89
commit 7ba03b3bdf

View file

@ -71,9 +71,8 @@ public class BankAccountValidationConfig {
AccountError.RequiredFieldEmpty, AccountError.RequiredFieldEmpty,
AccountError.DictionaryNotFound, AccountError.DictionaryNotFound,
false), false),
ValidateSymbolsRule.required("БИК", ValidateSymbolsRule.notRequired("БИК",
BankAccountNewRequest::getBankIdentificationCode, BankAccountUpdateRequest::getBankIdentificationCode,
AccountError.RequiredFieldEmpty,
AccountError.BadSymbol), AccountError.BadSymbol),
ValidateSymbolsRule.required("Наименование компании", ValidateSymbolsRule.required("Наименование компании",
BankAccountNewRequest::getBankName, BankAccountNewRequest::getBankName,