可视化缩放

master
OathK1per 2022-11-16 15:39:04 +08:00
parent 896dec281a
commit 3d9971abba
1 changed files with 1 additions and 1 deletions

View File

@ -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());