imdg plannerMap shedulerDate == null значит вместо NPE запланировать на сегодня. TODO перенести эту правку после мёржа с веткой.

This commit is contained in:
AKurakin 2023-01-17 10:58:54 +03:00
parent 6032bba359
commit 198daf9e62

View file

@ -32,7 +32,9 @@ public class Util {
}
}
plannerMap.values().stream().filter((x) -> x.getClearingDate().isEqual(currentDate)).forEach((x) -> {
plannerMap.values().stream()
.filter(x -> x.getTaskStatus() != null)
.filter((x) -> x.getClearingDate() == null || x.getClearingDate().isEqual(currentDate)).forEach((x) -> {
if (x.getTaskStatus().equalsIgnoreCase("ACTV")) {
listOfPlannerAllToday.add(createPlannerAllTodayFromPlanner(x));
}