This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new b7f330c16 [Bug] The configured value cannot be cleared in the System 
Setting module #2084 (#2085)
b7f330c16 is described below

commit b7f330c168993c2db0138d2dc6d70e17e388294d
Author: macksonmu <[email protected]>
AuthorDate: Thu Nov 24 11:47:45 2022 +0800

    [Bug] The configured value cannot be cleared in the System Setting module 
#2084 (#2085)
---
 .../main/java/org/apache/streampark/console/core/entity/Setting.java   | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/Setting.java
 
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/Setting.java
index cb20e89fe..c3e025e99 100644
--- 
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/Setting.java
+++ 
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/entity/Setting.java
@@ -17,7 +17,9 @@
 
 package org.apache.streampark.console.core.entity;
 
+import com.baomidou.mybatisplus.annotation.FieldStrategy;
 import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.Data;
@@ -37,6 +39,7 @@ public class Setting implements Serializable {
     @TableId(type = IdType.INPUT)
     private String settingKey;
 
+    @TableField(updateStrategy = FieldStrategy.IGNORED)
     private String settingValue;
 
     private Integer type;

Reply via email to