This commit is contained in:
parent
eecddc03cc
commit
ea74d18b1a
1 changed files with 6 additions and 1 deletions
|
|
@ -86,7 +86,12 @@ public class KSCommissionTradesReportBuilder extends CSVReportBuilder<EmptyParam
|
|||
pb.sql(sql),
|
||||
pb.greatEqual("refundDate", nowDate),
|
||||
pb.lessEqual("valueDate", nowDate),
|
||||
pb.in("sessionType", SessionType.XDEP.getKey(), SessionType.FINL.getKey(), SessionType.MEDM.getKey())
|
||||
pb.or(
|
||||
pb.in("sessionType", SessionType.XDEP.getKey(), SessionType.FINL.getKey(), SessionType.MEDM.getKey()),
|
||||
pb.and(
|
||||
pb.equals("sessionType", SessionType.UNIT.getKey()),
|
||||
pb.equals("section", Section.MKR.getKey()))
|
||||
)
|
||||
);
|
||||
Collection<Registry> registries = registryImdg.getCollectionObjectsByPredicate(finalPredicate);
|
||||
log.debug("Found {} Registry by query: {}", registries.size(), finalPredicate);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue