forked from github/dataease
feat(视图):fix
This commit is contained in:
parent
4812751d68
commit
e7391d034c
@ -25,6 +25,7 @@ import org.springframework.stereotype.Service;
|
||||
import scala.Tuple2;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.math.BigDecimal;
|
||||
import java.text.MessageFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Base64;
|
||||
@ -80,7 +81,7 @@ public class SparkCalc {
|
||||
if (StringUtils.isEmpty(l)) {
|
||||
l = "0";
|
||||
}
|
||||
list.add(Long.valueOf(l));
|
||||
list.add(new BigDecimal(l));
|
||||
}
|
||||
});
|
||||
yAxis.forEach(y -> {
|
||||
@ -91,7 +92,7 @@ public class SparkCalc {
|
||||
if (StringUtils.isEmpty(l)) {
|
||||
l = "0";
|
||||
}
|
||||
list.add(Long.valueOf(l));
|
||||
list.add(new BigDecimal(l));
|
||||
}
|
||||
});
|
||||
iterator.add(RowFactory.create(list.toArray()));
|
||||
|
Loading…
Reference in New Issue
Block a user