http://jira.mfd.msk:8088/browse/CLS-497 ksRepCashRegisters and ksRepDepoRegisters remove condition updatedAt == currentDay

This commit is contained in:
akulikov 2023-10-10 13:49:53 +03:00
parent 0b4c277ea0
commit 391384fab2
2 changed files with 0 additions and 4 deletions

View file

@ -74,8 +74,6 @@ public class KSRepCashRegistersReportBuilder extends CSVReportBuilder<EmptyParam
ImdgPredicate finalPredicate = pb.and(
pb.notNull("tradingClearingRegistry"),
registryPredicate,
pb.greatEqual("updated", instantNow.truncatedTo(ChronoUnit.DAYS)),
pb.less("updated", instantNow.plus(1, ChronoUnit.DAYS).truncatedTo(ChronoUnit.DAYS)),
pb.or(
pb.equals("accountType", AccountType.Clrn.getKey()),
pb.equals("accountType", AccountType.Info.getKey())

View file

@ -72,8 +72,6 @@ public class KSRepDepoRegistersReportBuilder extends CSVReportBuilder<EmptyParam
ImdgPredicate registryPredicate = RegistryCodeSqlBuilder.getInstance(RegistryTradingParams.AS_T).buildPredicate(pb);
ImdgPredicate finalPredicate = pb.and(
registryPredicate,
pb.greatEqual("updated", instantNow.truncatedTo(ChronoUnit.DAYS)),
pb.less("updated", instantNow.plus(1, ChronoUnit.DAYS).truncatedTo(ChronoUnit.DAYS)),
pb.equals("accountType", AccountType.Depo.getKey()),
pb.notNull("tradingClearingRegistry")
);