bug fix
This commit is contained in:
parent
b7cbcbbe54
commit
e1dd66c502
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ public enum AccountBalanceValidationRule implements IValidationRule<ImdgValidati
|
|||
if (account == null) {
|
||||
return of(BalanceError.AccountNotPresent);
|
||||
}
|
||||
if (!Status.Active.equalsByKey(account.getStatus())) {
|
||||
if (!Status.Active.equalsByKey(account.getAccountStatus())) {
|
||||
return of(BalanceError.AccountNotActive, account.getId());
|
||||
}
|
||||
context.storeObject(ValidationStored.Account, account);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue