From 31070a372d5e9e0c91d74494a89f38c11e802ff1 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Mon, 4 Mar 2024 14:36:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A6=96=E6=AC=A1=E4=B8=8A=E4=BC=A0lice?= =?UTF-8?q?nse=E5=90=8C=E6=AD=A5=E7=A4=BE=E5=8C=BA=E7=89=88=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=8C=85=E5=90=AB=E5=B7=B2=E5=88=A0=E9=99=A4=E7=9A=84?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/dataease/rmonitor/mapper/ResourceMonitorMapper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-backend/src/main/java/io/dataease/rmonitor/mapper/ResourceMonitorMapper.java b/core/core-backend/src/main/java/io/dataease/rmonitor/mapper/ResourceMonitorMapper.java index 0b2ae83575..c495ccaf33 100644 --- a/core/core-backend/src/main/java/io/dataease/rmonitor/mapper/ResourceMonitorMapper.java +++ b/core/core-backend/src/main/java/io/dataease/rmonitor/mapper/ResourceMonitorMapper.java @@ -18,7 +18,7 @@ public interface ResourceMonitorMapper { @Select("select count(id) from core_dataset_group") int datasetCount(); - @Select("select count(id) from data_visualization_info") + @Select("select count(id) from data_visualization_info where delete_flag = 0") int vCount(); @Select("select id, name, pid, type, status from core_datasource") @@ -27,7 +27,7 @@ public interface ResourceMonitorMapper { @Select("select id, name, pid, node_type from core_dataset_group") List queryFreeDataset(); - @Select("select id, name, pid, node_type, type from data_visualization_info") + @Select("select id, name, pid, node_type, type from data_visualization_info where delete_flag = 0") List queryFreeVusial(); @Delete("delete from core_datasource")