reports-service: KSRepLccTradesReportBuilder remove settlementDate condition
This commit is contained in:
parent
301ffed9d6
commit
5f095e2038
2 changed files with 2 additions and 4 deletions
|
|
@ -81,10 +81,7 @@ public class KSRepLccTradesReportBuilder extends CSVReportBuilder<EmptyParams, K
|
|||
LocalDate now = LocalDate.now();
|
||||
ImdgPredicateBuilder pb = executionCurrencyImdg.predicateBuilder();
|
||||
Collection<ExecutionCurrency> executions = executionCurrencyImdg.getCollectionObjectsByPredicate(
|
||||
pb.or(
|
||||
pb.equals("tradingDate", now),
|
||||
pb.equals("settlementDate", now)
|
||||
)
|
||||
pb.equals("tradingDate", now)
|
||||
);
|
||||
|
||||
rows = new ArrayList<>(executions.size());
|
||||
|
|
|
|||
|
|
@ -1396,6 +1396,7 @@ public class ReportServiceTest_KS {
|
|||
|
||||
ExecutionCurrency executionCurrency_2 = new ExecutionCurrency();
|
||||
executionCurrency_2.setSessionId(session_2.getId());
|
||||
executionCurrency_2.setTradingDate(LocalDate.now());
|
||||
executionCurrency_2.setSettlementDate(LocalDate.now());
|
||||
executionCurrency_2.setSessionId(SESSION_ID_2);
|
||||
executionCurrency_2.setExchangeExecutionId(123L);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue