diff --git a/backend/src/main/java/io/dataease/service/chart/ChartViewService.java b/backend/src/main/java/io/dataease/service/chart/ChartViewService.java index a06c485ed4..fe8f3a5a4e 100644 --- a/backend/src/main/java/io/dataease/service/chart/ChartViewService.java +++ b/backend/src/main/java/io/dataease/service/chart/ChartViewService.java @@ -181,7 +181,7 @@ public class ChartViewService { } // 获取数据集,需校验权限 - DatasetTable table = dataSetTableService.getWithPermission(view.getTableId()); + DatasetTable table = dataSetTableService.get(view.getTableId()); if (ObjectUtils.isEmpty(table)) { throw new RuntimeException(Translator.get("i18n_dataset_delete_or_no_permission")); }