可视化缩放
parent
896dec281a
commit
3d9971abba
|
@ -150,7 +150,7 @@ public class SpaceService {
|
|||
}
|
||||
|
||||
private SpaceVO combineData(List<Record> pie, List<Record> bar) {
|
||||
Map<String, Record> map = pie.stream().collect(Collectors.toMap(record -> String.valueOf(record.getInt("certainty")), Function.identity()));
|
||||
Map<String, Record> map = pie.stream().peek(a -> a.set("name", "把握度" + a.getStr("name"))).collect(Collectors.toMap(record -> String.valueOf(record.getInt("certainty")), Function.identity()));
|
||||
|
||||
bar = bar.stream().peek(a -> a.set("average", Utils.format(a.getBigDecimal("average")))).collect(Collectors.toList());
|
||||
|
||||
|
|
Loading…
Reference in New Issue