From 4eb4dc93b20b43c18a78d2503443477c91464f71 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 26 Jun 2024 19:21:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(XPack):=20=E5=AE=9A=E6=97=B6=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/VisualizationReportFilter.java | 150 ------------------ .../VisualizationReportFilterMapper.java | 18 --- .../mapper/ExtDataVisualizationMapper.java | 2 +- .../server/DataVisualizationServer.java | 6 +- .../main/resources/db/desktop/V2.8__ddl.sql | 5 +- .../main/resources/db/migration/V2.8__ddl.sql | 4 +- .../mybatis/ExtDataVisualizationMapper.xml | 12 +- .../api/visualization/dataVisualization.ts | 8 +- .../src/assets/svg/icon_reset_outlined.svg | 4 +- .../v-query/ConditionDefaultConfiguration.vue | 2 +- .../src/utils/CanvasInfoTransUtils.ts | 10 +- .../data-visualization/PreviewCanvas.vue | 2 +- null/VisualizationReportFilterController.java | 18 --- null/VisualizationReportFilterMapper.xml | 5 - .../VisualizationReportFilterServiceImpl.java | 20 --- .../api/report/dto/ReportCreator.java | 3 + .../request/DataVisualizationBaseRequest.java | 3 + .../vo/VisualizationReportFilterVO.java | 51 ++++-- 18 files changed, 75 insertions(+), 248 deletions(-) delete mode 100644 core/core-backend/src/main/java/io/dataease/visualization/dao/auto/entity/VisualizationReportFilter.java delete mode 100644 core/core-backend/src/main/java/io/dataease/visualization/dao/auto/mapper/VisualizationReportFilterMapper.java delete mode 100644 null/VisualizationReportFilterController.java delete mode 100644 null/VisualizationReportFilterMapper.xml delete mode 100644 null/VisualizationReportFilterServiceImpl.java diff --git a/core/core-backend/src/main/java/io/dataease/visualization/dao/auto/entity/VisualizationReportFilter.java b/core/core-backend/src/main/java/io/dataease/visualization/dao/auto/entity/VisualizationReportFilter.java deleted file mode 100644 index baa6456131..0000000000 --- a/core/core-backend/src/main/java/io/dataease/visualization/dao/auto/entity/VisualizationReportFilter.java +++ /dev/null @@ -1,150 +0,0 @@ -package io.dataease.visualization.dao.auto.entity; - -import com.baomidou.mybatisplus.annotation.TableName; -import java.io.Serializable; - -/** - *
- * - *
- * - * @author fit2cloud - * @since 2024-06-25 - */ -@TableName("visualization_report_filter") -public class VisualizationReportFilter implements Serializable { - - private static final long serialVersionUID = 1L; - - /** - * 报告ID - */ - private Long id; - - /** - * 资源id - */ - private Long resourceId; - - /** - * 资源类型 - */ - private String dvType; - - /** - * 组件id - */ - private Long componentId; - - /** - * 过滤项id - */ - private Long filterId; - - /** - * 过滤组件内容 - */ - private String filterInfo; - - /** - * 过滤组件版本 - */ - private Integer filterVersion; - - /** - * 创建时间 - */ - private Long createTime; - - /** - * 创建人 - */ - private String createUser; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Long getResourceId() { - return resourceId; - } - - public void setResourceId(Long resourceId) { - this.resourceId = resourceId; - } - - public String getDvType() { - return dvType; - } - - public void setDvType(String dvType) { - this.dvType = dvType; - } - - public Long getComponentId() { - return componentId; - } - - public void setComponentId(Long componentId) { - this.componentId = componentId; - } - - public Long getFilterId() { - return filterId; - } - - public void setFilterId(Long filterId) { - this.filterId = filterId; - } - - public String getFilterInfo() { - return filterInfo; - } - - public void setFilterInfo(String filterInfo) { - this.filterInfo = filterInfo; - } - - public Integer getFilterVersion() { - return filterVersion; - } - - public void setFilterVersion(Integer filterVersion) { - this.filterVersion = filterVersion; - } - - public Long getCreateTime() { - return createTime; - } - - public void setCreateTime(Long createTime) { - this.createTime = createTime; - } - - public String getCreateUser() { - return createUser; - } - - public void setCreateUser(String createUser) { - this.createUser = createUser; - } - - @Override - public String toString() { - return "VisualizationReportFilter{" + - "id = " + id + - ", resourceId = " + resourceId + - ", dvType = " + dvType + - ", componentId = " + componentId + - ", filterId = " + filterId + - ", filterInfo = " + filterInfo + - ", filterVersion = " + filterVersion + - ", createTime = " + createTime + - ", createUser = " + createUser + - "}"; - } -} diff --git a/core/core-backend/src/main/java/io/dataease/visualization/dao/auto/mapper/VisualizationReportFilterMapper.java b/core/core-backend/src/main/java/io/dataease/visualization/dao/auto/mapper/VisualizationReportFilterMapper.java deleted file mode 100644 index 2d4ad4c351..0000000000 --- a/core/core-backend/src/main/java/io/dataease/visualization/dao/auto/mapper/VisualizationReportFilterMapper.java +++ /dev/null @@ -1,18 +0,0 @@ -package io.dataease.visualization.dao.auto.mapper; - -import io.dataease.visualization.dao.auto.entity.VisualizationReportFilter; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import org.apache.ibatis.annotations.Mapper; - -/** - *- * Mapper 接口 - *
- * - * @author fit2cloud - * @since 2024-06-25 - */ -@Mapper -public interface VisualizationReportFilterMapper extends BaseMapper