This commit is contained in:
parent
f1bb965141
commit
2daad95d38
1 changed files with 3 additions and 3 deletions
|
|
@ -316,7 +316,7 @@ public class Sdf57Executor extends AbstractExecutor<SDf57> {
|
||||||
});
|
});
|
||||||
{
|
{
|
||||||
boolean isAmat = RegistryManager.equalsByCode(RegistryTradingParams.AMAT, asts.a__t());
|
boolean isAmat = RegistryManager.equalsByCode(RegistryTradingParams.AMAT, asts.a__t());
|
||||||
boolean isInfo = accountIsInfo(account);
|
boolean isInfo = accTypeIsInfoOrClrn(account);
|
||||||
if (isAmat && isInfo) gvtfIds.add(asts.a__t().getId());
|
if (isAmat && isInfo) gvtfIds.add(asts.a__t().getId());
|
||||||
}
|
}
|
||||||
InOutDirection direction = IEnumKey.getEnumByKey(InOutDirection.class, stmt.getInOutDirection());
|
InOutDirection direction = IEnumKey.getEnumByKey(InOutDirection.class, stmt.getInOutDirection());
|
||||||
|
|
@ -562,9 +562,9 @@ public class Sdf57Executor extends AbstractExecutor<SDf57> {
|
||||||
return anlt;
|
return anlt;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean accountIsInfo(Account account) {
|
private boolean accTypeIsInfoOrClrn(Account account) {
|
||||||
if (account == null) return false;
|
if (account == null) return false;
|
||||||
return AccountType.Info.getKey().equals(account.getAccountType());
|
return IEnumKey.contains(account.getAccountType(), AccountType.Info, AccountType.Clrn);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Registry copyRegB(Registry rgs) {
|
private Registry copyRegB(Registry rgs) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue