From 444b1808d73d21f9df361e64f44381b910947792 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 27 九月 2024 11:05:08 +0800
Subject: [PATCH] 去掉tdedgine,去掉一部分rocketmq,去掉dmplog模块

---
 smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/vo/ConfigVO.java |   36 ++++++++++++++++++++----------------
 1 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/vo/ConfigVO.java b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/vo/ConfigVO.java
index ab5c99b..97bc88f 100644
--- a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/vo/ConfigVO.java
+++ b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/vo/ConfigVO.java
@@ -18,9 +18,9 @@
     @Value("${oss.secret-key}")
     @ApiModelProperty("secret-key")
     private String secretKey;
-    @Value("${spring.datasource.dynamic.datasource.tdengine.url}")
-    @ApiModelProperty("tdengine閰嶇疆")
-    private String tdengineUrl;
+   // @Value("${spring.datasource.dynamic.datasource.tdengine.url}")
+    //@ApiModelProperty("tdengine閰嶇疆")
+    //private String tdengineUrl;
     @Value("${spring.datasource.dynamic.datasource.master.url}")
     @ApiModelProperty("鏁版嵁搴撻厤缃�")
     private String mysqlUrl;
@@ -96,8 +96,8 @@
             return this;
         }
 
-        public ConfigVO build() {
-            return new ConfigVO(this.ossUrl, this.accessKey, this.secretKey, this.tdengineUrl, this.mysqlUrl, this.driverClassName, this.database, this.type, this.url);
+        public ConfigVO build() {// this.tdengineUrl, 
+            return new ConfigVO(this.ossUrl, this.accessKey, this.secretKey,this.mysqlUrl, this.driverClassName, this.database, this.type, this.url);
         }
 
         public String toString() {
@@ -116,11 +116,11 @@
     public void setSecretKey(final String secretKey) {
         this.secretKey = secretKey;
     }
-
+    /*
     public void setTdengineUrl(final String tdengineUrl) {
         this.tdengineUrl = tdengineUrl;
     }
-
+	*/
     public void setMysqlUrl(final String mysqlUrl) {
         this.mysqlUrl = mysqlUrl;
     }
@@ -175,6 +175,7 @@
                 } else if (!this$secretKey.equals(other$secretKey)) {
                     return false;
                 }
+                /*
                 Object this$tdengineUrl = getTdengineUrl();
                 Object other$tdengineUrl = other.getTdengineUrl();
                 if (this$tdengineUrl == null) {
@@ -183,7 +184,7 @@
                     }
                 } else if (!this$tdengineUrl.equals(other$tdengineUrl)) {
                     return false;
-                }
+                }*/
                 Object this$mysqlUrl = getMysqlUrl();
                 Object other$mysqlUrl = other.getMysqlUrl();
                 if (this$mysqlUrl == null) {
@@ -240,10 +241,13 @@
         int result2 = (result * 59) + ($accessKey == null ? 43 : $accessKey.hashCode());
         Object $secretKey = getSecretKey();
         int result3 = (result2 * 59) + ($secretKey == null ? 43 : $secretKey.hashCode());
+        /*
         Object $tdengineUrl = getTdengineUrl();
         int result4 = (result3 * 59) + ($tdengineUrl == null ? 43 : $tdengineUrl.hashCode());
+        */
         Object $mysqlUrl = getMysqlUrl();
-        int result5 = (result4 * 59) + ($mysqlUrl == null ? 43 : $mysqlUrl.hashCode());
+        //int result5 = (result4 * 59) + ($mysqlUrl == null ? 43 : $mysqlUrl.hashCode());
+        int result5 = ($mysqlUrl == null ? 43 : $mysqlUrl.hashCode());
         Object $driverClassName = getDriverClassName();
         int result6 = (result5 * 59) + ($driverClassName == null ? 43 : $driverClassName.hashCode());
         Object $database = getDatabase();
@@ -254,8 +258,8 @@
         return (result8 * 59) + ($url == null ? 43 : $url.hashCode());
     }
 
-    public String toString() {
-        return "ConfigVO(ossUrl=" + getOssUrl() + ", accessKey=" + getAccessKey() + ", secretKey=" + getSecretKey() + ", tdengineUrl=" + getTdengineUrl() + ", mysqlUrl=" + getMysqlUrl() + ", driverClassName=" + getDriverClassName() + ", database=" + getDatabase() + ", type=" + getType() + ", url=" + getUrl() + ")";
+    public String toString() {//+ ", tdengineUrl=" + getTdengineUrl()
+        return "ConfigVO(ossUrl=" + getOssUrl() + ", accessKey=" + getAccessKey() + ", secretKey=" + getSecretKey()  + ", mysqlUrl=" + getMysqlUrl() + ", driverClassName=" + getDriverClassName() + ", database=" + getDatabase() + ", type=" + getType() + ", url=" + getUrl() + ")";
     }
 
     public static ConfigVOBuilder builder() {
@@ -264,12 +268,12 @@
 
     public ConfigVO() {
     }
-
-    public ConfigVO(final String ossUrl, final String accessKey, final String secretKey, final String tdengineUrl, final String mysqlUrl, final String driverClassName, final String database, final String type, final String url) {
+// final String tdengineUrl,
+    public ConfigVO(final String ossUrl, final String accessKey, final String secretKey, final String mysqlUrl, final String driverClassName, final String database, final String type, final String url) {
         this.ossUrl = ossUrl;
         this.accessKey = accessKey;
         this.secretKey = secretKey;
-        this.tdengineUrl = tdengineUrl;
+        //this.tdengineUrl = tdengineUrl;
         this.mysqlUrl = mysqlUrl;
         this.driverClassName = driverClassName;
         this.database = database;
@@ -288,10 +292,10 @@
     public String getSecretKey() {
         return this.secretKey;
     }
-
+    /*
     public String getTdengineUrl() {
         return this.tdengineUrl;
-    }
+    }*/
 
     public String getMysqlUrl() {
         return this.mysqlUrl;

--
Gitblit v1.9.3