fix: 下钻字段容错

This commit is contained in:
junjie 2021-12-29 16:13:28 +08:00
parent da1d0b8282
commit 37e98ea808

View File

@ -304,7 +304,7 @@ public class ChartViewService {
if (StringUtils.equalsIgnoreCase(dto.getId(), chartViewFieldDTO.getId())) {
isDrill = true;
DatasetTableField datasetTableField = dataSetTableFieldsService.get(dto.getId());
if (ObjectUtils.isNotEmpty(datasetTableField)) {
if (ObjectUtils.isEmpty(datasetTableField)) {
DEException.throwException(Translator.get("i18n_drill_field_not_exist"));
}
ChartViewFieldDTO d = new ChartViewFieldDTO();