| | |
| | | }, Collectors.summingLong((v0) -> { |
| | | return v0.getOutput(); |
| | | }))); |
| | | seriesMap.put(id, new SeriesItem((String) categoriesSuffix.get(id), categories.stream().map(it -> { |
| | | return (Long) collectMap.getOrDefault(it, 0L); |
| | | seriesMap.put(id, new SeriesItem(categoriesSuffix.get(id), categories.stream().map(it -> { |
| | | return collectMap.getOrDefault(it, 0L); |
| | | }).collect(Collectors.toList()))); |
| | | }); |
| | | chartSeriesDataVO.setCategories(categories); |
| | | chartSeriesDataVO.setSeries(countAggregateDataDTO.getWorkstationList().stream().map(item -> { |
| | | return (SeriesItem) seriesMap.get(item.getId()); |
| | | return seriesMap.get(item.getId()); |
| | | }).filter((v0) -> { |
| | | return Objects.nonNull(v0); |
| | | }).collect(Collectors.toList())); |