From 59239df2e19b6eb3cdf5edec5ffdcc0b6babbe11 Mon Sep 17 00:00:00 2001 From: fanshuai <1141904845@qq.com> Date: Thu, 7 Mar 2024 16:50:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Etag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/platform/domain/Dataset.java | 9 ++++++ .../com/ruoyi/platform/domain/Models.java | 11 ++++++++ .../managementPlatform/DatasetDaoMapper.xml | 28 +++++++++++++------ .../ExperimentDaoMapper.xml | 2 +- .../managementPlatform/ModelsDaoMapper.xml | 27 ++++++++++++------ 5 files changed, 59 insertions(+), 18 deletions(-) diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Dataset.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Dataset.java index bf6c8e2e..918810da 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Dataset.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Dataset.java @@ -26,6 +26,8 @@ public class Dataset implements Serializable { @ApiModelProperty(name = "data_type") private Integer dataType; + @ApiModelProperty(name = "data_tag") + private Integer dataTag; /** * 创建者 */ @@ -100,6 +102,13 @@ public class Dataset implements Serializable { public void setDataType(Integer dataType) { this.dataType = dataType; } + public Integer getDataTag() { + return dataTag; + } + + public void setDataTag(Integer dataTag) { + this.dataTag = dataTag; + } public String getCreateBy() { return createBy; diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Models.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Models.java index d0417b06..bb6a8c7c 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Models.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Models.java @@ -28,6 +28,8 @@ public class Models implements Serializable { // private String url; @ApiModelProperty(name = "model_type") private Integer modelType; + @ApiModelProperty(name = "model_tag") + private Integer modelTag; /** * 创建者 */ @@ -103,6 +105,15 @@ public class Models implements Serializable { this.modelType = modelType; } + public Integer getModelTag() { + return modelTag; + } + + public void setModelTag(Integer modelTag) { + this.modelTag = modelTag; + } + + public String getCreateBy() { return createBy; } diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DatasetDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DatasetDaoMapper.xml index cfd32b32..227eb9d2 100644 --- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DatasetDaoMapper.xml +++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/DatasetDaoMapper.xml @@ -7,6 +7,7 @@ + @@ -17,7 +18,7 @@ @@ -25,7 +26,7 @@ select - id, name, description, model_type, create_by, create_time, update_by, update_time, state + id, name, description, model_type,model_tag, create_by, create_time, update_by, update_time, state from models where id = #{id} and state = 1 @@ -25,7 +26,7 @@