session step 2 O/T creation capacity for accountType=info
This commit is contained in:
parent
690ab4c35d
commit
abdc6d69b8
2 changed files with 2 additions and 8 deletions
|
|
@ -192,10 +192,7 @@ public class RegistryDepoBuilder implements IRegistryBuilder {
|
|||
capacityByAccount = clearingAccount.getClearingAccountType();
|
||||
}
|
||||
} else if (AccountType.Info.equalsByKey(accountType)) {
|
||||
InformationAccount informationAccount = informationAccountImdg.getSingleObjectByID(moneyAccountId);
|
||||
if (informationAccount != null) {
|
||||
capacityByAccount = "A"; //todo сделать enum
|
||||
}
|
||||
capacityByAccount = RegistryCapacity.A.getKey();
|
||||
}
|
||||
return capacityByAccount;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -190,10 +190,7 @@ public class RegistryFondBuilder implements IRegistryBuilder {
|
|||
capacityByAccount = clearingAccount.getClearingAccountType();
|
||||
}
|
||||
} else if (AccountType.Info.equalsByKey(accountType)) {
|
||||
InformationAccount informationAccount = informationAccountImdg.getSingleObjectByID(moneyAccountId);
|
||||
if (informationAccount != null) {
|
||||
capacityByAccount = "A"; //todo сделать enum
|
||||
}
|
||||
capacityByAccount = RegistryCapacity.A.getKey();
|
||||
}
|
||||
return capacityByAccount;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue