mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
fix(仪表板) 解决有空值下载excel报NPE的问题
This commit is contained in:
parent
217da936cc
commit
3f52dba111
@ -98,7 +98,7 @@ public class TableInfoHandler extends DefaultChartHandler {
|
||||
}
|
||||
}
|
||||
assert fieldDTO != null;
|
||||
if (fieldDTO.isAgg()) {
|
||||
if (fieldDTO != null && fieldDTO.isAgg()) {
|
||||
sqlMeta.getXFields().get(i).setFieldName("'-'");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user