This commit is contained in:
parent
cafcfb4a48
commit
d5112bccc3
1 changed files with 3 additions and 3 deletions
|
|
@ -159,12 +159,12 @@ public abstract class AbstractExporterService {
|
|||
if (!validStatus.contains(tradingClearingRegistry.getStatus())) {
|
||||
return false;
|
||||
}
|
||||
if (registry.getBalance().equals(BigDecimal.ZERO)) {
|
||||
Account account = accountImdg.getSingleObjectByID(registry.getAccountId());
|
||||
if (registry.getBalance().equals(BigDecimal.ZERO) && invalidAccountStatus.contains(account.getAccount())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Account account = accountImdg.getSingleObjectByID(registry.getAccountId());
|
||||
return !invalidAccountStatus.contains(account.getAccount());
|
||||
return true;
|
||||
}
|
||||
|
||||
protected BigDecimal sumNegativeABS(Collection<Registry> registries) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue