account-service AccountValidationConfig поправил, см. ТЗ X - Блокировка корреспондентского счета (2)
This commit is contained in:
parent
3e6f6121c4
commit
25dc117c52
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ public class AccountValidationConfig {
|
|||
account -> {
|
||||
// проверка на заблокированность счёта
|
||||
if (!AccountStatus.ACTIVE.getKey().equalsIgnoreCase(account.getStatus()))
|
||||
return AccountError.WrongFieldValue;
|
||||
return AccountError.AccountNotActive;
|
||||
return null;
|
||||
}),
|
||||
IdPresentRule.instance("companyId",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue