reports-service оправил выборку ExecutionDeposit и ExecutionFond
This commit is contained in:
parent
2c3a08232b
commit
58f78c39b4
1 changed files with 8 additions and 2 deletions
|
|
@ -84,12 +84,18 @@ public class KSRepTradesReportBuilder extends CSVReportBuilder<EmptyParams, KSRe
|
|||
|
||||
ImdgPredicateBuilder pbExecutionDeposit = executionDepositImdg.predicateBuilder();
|
||||
Collection<ExecutionDeposit> executionDeposits = executionDepositImdg.getCollectionObjectsByPredicate(
|
||||
pbExecutionDeposit.equals("tradingDate", nowDate)
|
||||
pbExecutionDeposit.or(
|
||||
pbExecutionDeposit.equals("tradingDate", nowDate),
|
||||
pbExecutionDeposit.greatEqual("firstLegSettlementDate", nowDate)
|
||||
)
|
||||
);
|
||||
log.debug("Found {} ExecutionDeposit by tradingDate={}", executionDeposits.size(), nowDate);
|
||||
ImdgPredicateBuilder pbExecutionFond = executionFondImdg.predicateBuilder();
|
||||
Collection<ExecutionFond> executionFonds = executionFondImdg.getCollectionObjectsByPredicate(
|
||||
pbExecutionFond.equals("tradingDate", nowDate)
|
||||
pbExecutionFond.or(
|
||||
pbExecutionFond.equals("tradingDate", nowDate),
|
||||
pbExecutionFond.greatEqual("settlementDate", nowDate)
|
||||
)
|
||||
);
|
||||
log.debug("Found {} ExecutionFond by tradingDate={}", executionFonds.size(), nowDate);
|
||||
List<ExecutionCommon> executions = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue