account-service Валидаторrы...
This commit is contained in:
parent
4b25a6d1e9
commit
ebe8bbb13f
1 changed files with 1 additions and 2 deletions
|
|
@ -53,8 +53,7 @@ public class BankAccountValidationConfig {
|
|||
Company.class,
|
||||
AccountError.RequiredFieldEmpty,
|
||||
AccountError.CompanyNotFound,
|
||||
false,
|
||||
company -> WorkflowStatus.Active.equalsByKey(company.getWorkflowStatus()) ? null : AccountError.CompanyNotActive),
|
||||
false),
|
||||
FieldRequiredRule.instance("account",
|
||||
BankAccountNewRequest::getAccount,
|
||||
AccountError.RequiredFieldEmpty,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue