mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 11:38:11 +08:00
feat(视图):fix
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user