|
@@ -128,7 +128,11 @@ public class IndexController extends BaseController {
|
|
|
scoreList = scoreList.stream().sorted(Comparator.comparing(HlScore::getHlDate)).collect(Collectors.toList());
|
|
|
scoreList.forEach(hs -> {
|
|
|
times.add(DateUtils.parseDateToStr("HH:mm", hs.getHlDate()));
|
|
|
- scores.add(hs.getHlScore().floatValue());
|
|
|
+ if (hs.getHlScore() != null) {
|
|
|
+ scores.add(hs.getHlScore().floatValue());
|
|
|
+ } else {
|
|
|
+ scores.add(100f);
|
|
|
+ }
|
|
|
});
|
|
|
map.put("time", times);
|
|
|
map.put("score", scores);
|