This commit is contained in:
parent
c3b9142dc2
commit
045a806dc7
1 changed files with 0 additions and 14 deletions
|
|
@ -116,8 +116,6 @@ public class KSRepLccValueReportBuilder extends CSVReportBuilder<EmptyParams, KS
|
|||
|
||||
Map<String, Rates> currencyRates = new HashMap<>();
|
||||
|
||||
|
||||
|
||||
LocalDateTime reportDate = LocalDateTime.now().minusDays(1);
|
||||
do {
|
||||
ClearingCalendar clearingDate = clearingCalendarImdg.getFirstObjectByPredicate(
|
||||
|
|
@ -135,18 +133,6 @@ public class KSRepLccValueReportBuilder extends CSVReportBuilder<EmptyParams, KS
|
|||
reportDate = reportDate.minusDays(1);
|
||||
} while (true);
|
||||
|
||||
ImdgPredicateBuilder pb = clearingCalendarImdg.predicateBuilder();
|
||||
do {
|
||||
ClearingCalendar clearingDate = clearingCalendarImdg.getFirstObjectByPredicate(pb.equals("clearing_date", reportDate));
|
||||
if (clearingDate == null) {
|
||||
log.warn("Can't find clearing_date for report_date, use {}", reportDate.toLocalDate());
|
||||
break;
|
||||
}
|
||||
DayStatus status = IEnumKey.getEnumByKey(DayStatus.class, clearingDate.getDayStatus());
|
||||
if (status == DayStatus.Workday) break;
|
||||
reportDate = reportDate.minusDays(1);
|
||||
} while (true);
|
||||
|
||||
for (Map.Entry<String, List<Registry>> entryTKR : groupedByTKR.entrySet()) {
|
||||
currencyRates.clear();
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue