feat(视图):fix

This commit is contained in:
junjie 2021-04-09 18:11:39 +08:00
parent 50317421e9
commit 62b1bbdced

View File

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