提交 62b1bbdc authored 作者: junjie's avatar junjie

feat(视图):fix

上级 50317421
......@@ -81,7 +81,7 @@ public class SparkCalc {
if (StringUtils.isEmpty(l)) {
l = "0";
}
list.add(new BigDecimal(l));
list.add(l.contains(".") ? Double.parseDouble(l) : Long.parseLong(l));
}
});
yAxis.forEach(y -> {
......@@ -92,7 +92,7 @@ public class SparkCalc {
if (StringUtils.isEmpty(l)) {
l = "0";
}
list.add(new BigDecimal(l));
list.add(l.contains(".") ? Double.parseDouble(l) : Long.parseLong(l));
}
});
iterator.add(RowFactory.create(list.toArray()));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论