From b2c45730f976ec053dfd28ac6b2749805fa851c1 Mon Sep 17 00:00:00 2001 From: junjie Date: Thu, 22 Jul 2021 19:34:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=9E=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/dataease/service/chart/ChartViewService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); }