account-service backend-api обновил мету 3.12.8.98 (revert частично)
This commit is contained in:
parent
0c62c91888
commit
89e81604a5
1 changed files with 4 additions and 0 deletions
|
|
@ -56,6 +56,10 @@ public class BankAccountValidationConfig {
|
||||||
AccountError.RequiredFieldEmpty,
|
AccountError.RequiredFieldEmpty,
|
||||||
AccountError.CompanyNotFound,
|
AccountError.CompanyNotFound,
|
||||||
false),
|
false),
|
||||||
|
FieldNotBlankRequiredRule.instance("account",
|
||||||
|
BankAccountNewRequest::getAccount,
|
||||||
|
AccountError.RequiredFieldEmpty
|
||||||
|
),
|
||||||
new SameAccountValidationRule<>(AccountType.Bank, BankAccountNewRequest::getAccount),
|
new SameAccountValidationRule<>(AccountType.Bank, BankAccountNewRequest::getAccount),
|
||||||
DictionaryPresentRule.instance("currency",
|
DictionaryPresentRule.instance("currency",
|
||||||
BankAccountNewRequest::getCurrency,
|
BankAccountNewRequest::getCurrency,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue