forked from github/dataease
fix: 下钻字段容错
This commit is contained in:
parent
da1d0b8282
commit
37e98ea808
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user