首页 > TAG信息列表 > resultItem

Stream 分组,BigDecimal求和汇总

// 分组 Map<String, List<ChartDataView>> map = data.stream().map(t -> { ChartDataView c = new ChartDataView(); c.setDimension1(t.getDimension10()); c.setTarget1(t.getTarget7()); return c; }).collect(Collectors.