mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(图表): 修复分布图指标引用字段含空值-更新图表-数据异常的问题
This commit is contained in:
committed by
jianneng-fit2cloud
parent
2108b32a42
commit
c4ae3e5486
@@ -89,7 +89,6 @@ public class PieHandler extends YoyChartHandler {
|
||||
}
|
||||
|
||||
private boolean isPositive(Object value) {
|
||||
if (Objects.isNull(value)) return false;
|
||||
if (value instanceof String) {
|
||||
try {
|
||||
return new BigDecimal((String) value).compareTo(BigDecimal.ZERO) >= 0;
|
||||
|
||||
Reference in New Issue
Block a user