account-service AccountValidationConfig поправил, см. ТЗ X - Блокировка корреспондентского счета (2)

This commit is contained in:
AKurakin 2023-05-24 14:03:34 +03:00
parent 3e6f6121c4
commit 25dc117c52

View file

@ -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",