imdg plannerMap shedulerDate == null значит вместо NPE запланировать на сегодня. TODO перенести эту правку после мёржа с веткой.
This commit is contained in:
parent
6032bba359
commit
198daf9e62
1 changed files with 3 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue