forked from github/dataease
feat(视图):fix
This commit is contained in:
parent
50317421e9
commit
62b1bbdced
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user