From c6fd782d3926a1d1ea58133655c7858cac6b8bba Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 28 Jul 2021 12:16:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=BB=BA=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E5=90=8E=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/mapper/ext/ExtChartViewMapper.java | 2 ++ .../base/mapper/ext/ExtChartViewMapper.xml | 19 +++++++++++++++++++ .../service/chart/ChartViewService.java | 10 ++++++++-- frontend/src/views/chart/group/Group.vue | 4 ++-- 4 files changed, 31 insertions(+), 4 deletions(-) diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.java b/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.java index fdbb430fbc..ed9a4085ec 100644 --- a/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.java +++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.java @@ -12,6 +12,8 @@ import java.util.List; public interface ExtChartViewMapper { List search(ChartViewRequest request); + ChartViewDTO searchOne(ChartViewRequest request); + void chartCopy(@Param("newChartId")String newChartId,@Param("oldChartId")String oldChartId); @Select("select id from chart_view where table_id = #{tableId}") diff --git a/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.xml b/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.xml index f8de1cbaa0..1728fd92d4 100644 --- a/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.xml +++ b/backend/src/main/java/io/dataease/base/mapper/ext/ExtChartViewMapper.xml @@ -8,6 +8,25 @@ +