From 59eaa5f78751e1a240690b627c3fa6fcff323e9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=A5=BF=E5=A4=A7=E9=94=90?= <1070211640@qq.com>
Date: Mon, 20 May 2024 13:56:53 +0800
Subject: [PATCH 01/31] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/ruoyi/platform/domain/Component.java | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Component.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Component.java
index 2e1d5de2..5f6f9cdc 100644
--- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Component.java
+++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/domain/Component.java
@@ -1,6 +1,7 @@
package com.ruoyi.platform.domain;
import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonRawValue;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
@@ -58,6 +59,7 @@ public class Component implements Serializable {
*/
@JsonProperty("env_variables")
@ApiModelProperty(name = "env_variables", value = "环境变量")
+ @JsonRawValue
private String envVirables;
/**
* 资源规格
@@ -78,12 +80,20 @@ public class Component implements Serializable {
* 输入参数
*/
@ApiModelProperty(name = "in_parameters" ,value = "输入参数")
+ @JsonRawValue
private String inParameters;
/**
* 输出参数
*/
@ApiModelProperty(name = "out_parameters" ,value = "输出参数")
+ @JsonRawValue
private String outParameters;
+
+ /**
+ * 可见范围
+ */
+ @ApiModelProperty(name = "available_range" ,value = "1公开0私有")
+ private int availableRange;
/**
* 描述
*/
@@ -124,6 +134,8 @@ public class Component implements Serializable {
@ApiModelProperty(name = "state" , value = "状态")
private Integer state;
+
+
public Integer getId() {
return id;
}
@@ -228,6 +240,14 @@ public class Component implements Serializable {
this.outParameters = outParameters;
}
+ public int getAvailableRange() {
+ return availableRange;
+ }
+
+ public void setAvailableRange(int availableRange) {
+ this.availableRange = availableRange;
+ }
+
public String getDescription() {
return description;
}
From 63ddf436f4709078e5c66966d9e742d7ffa4f3b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=A5=BF=E5=A4=A7=E9=94=90?= <1070211640@qq.com>
Date: Mon, 20 May 2024 14:07:25 +0800
Subject: [PATCH 02/31] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../managementPlatform/ComponentDaoMapper.xml | 26 +++++++++++++------
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ComponentDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ComponentDaoMapper.xml
index d4af39d0..84b369ff 100644
--- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ComponentDaoMapper.xml
+++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ComponentDaoMapper.xml
@@ -16,6 +16,7 @@
+
@@ -28,7 +29,7 @@
@@ -42,7 +43,7 @@