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 -> {
|
account -> {
|
||||||
// проверка на заблокированность счёта
|
// проверка на заблокированность счёта
|
||||||
if (!AccountStatus.ACTIVE.getKey().equalsIgnoreCase(account.getStatus()))
|
if (!AccountStatus.ACTIVE.getKey().equalsIgnoreCase(account.getStatus()))
|
||||||
return AccountError.WrongFieldValue;
|
return AccountError.AccountNotActive;
|
||||||
return null;
|
return null;
|
||||||
}),
|
}),
|
||||||
IdPresentRule.instance("companyId",
|
IdPresentRule.instance("companyId",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue