diff --git a/pom.xml b/pom.xml
index 89317cb..1e7546c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,6 +31,8 @@
4.1.2
2.3
0.9.1
+ 1.6.2
+ 1.18.22
@@ -196,6 +198,13 @@
${sync.version}
+
+ org.mapstruct
+ mapstruct
+ ${mapstruct.version}
+
+
+
@@ -222,6 +231,19 @@
${java.version}
${project.build.sourceEncoding}
true
+
+
+ org.projectlombok
+ lombok
+ ${lombok.version}
+
+
+ org.mapstruct
+ mapstruct-processor
+ ${mapstruct.version}
+
+
+
diff --git a/sync-admin/pom.xml b/sync-admin/pom.xml
index 1bc6ce7..8510323 100644
--- a/sync-admin/pom.xml
+++ b/sync-admin/pom.xml
@@ -43,6 +43,11 @@
mysql-connector-java
+
+ com.microsoft.sqlserver
+ mssql-jdbc
+
+
com.lyr
@@ -67,6 +72,7 @@
sync-gather
+
diff --git a/sync-admin/src/main/resources/application-local.yml b/sync-admin/src/main/resources/application-local.yml
index 5a03869..74eb6d7 100644
--- a/sync-admin/src/main/resources/application-local.yml
+++ b/sync-admin/src/main/resources/application-local.yml
@@ -5,13 +5,12 @@ spring:
port: 6379
database: 1
password: eGDiN3RRhRNzrzjd
-
datasource:
type: com.alibaba.druid.pool.DruidDataSource
- driverClassName: com.mysql.cj.jdbc.Driver
druid:
# 主库数据源
master:
+ driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${spring.redis.host}:3306/sync-data?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: K2bfP8rzG62ZSJGN
@@ -19,6 +18,7 @@ spring:
slave:
# 从数据源开关/默认关闭
enabled: false
+ driverClassName:
url:
username:
password:
diff --git a/sync-admin/target/classes/application-local.yml b/sync-admin/target/classes/application-local.yml
index 5a03869..74eb6d7 100644
--- a/sync-admin/target/classes/application-local.yml
+++ b/sync-admin/target/classes/application-local.yml
@@ -5,13 +5,12 @@ spring:
port: 6379
database: 1
password: eGDiN3RRhRNzrzjd
-
datasource:
type: com.alibaba.druid.pool.DruidDataSource
- driverClassName: com.mysql.cj.jdbc.Driver
druid:
# 主库数据源
master:
+ driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${spring.redis.host}:3306/sync-data?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: K2bfP8rzG62ZSJGN
@@ -19,6 +18,7 @@ spring:
slave:
# 从数据源开关/默认关闭
enabled: false
+ driverClassName:
url:
username:
password:
diff --git a/sync-admin/target/classes/com/lyr/RuoYiApplication.class b/sync-admin/target/classes/com/lyr/RuoYiApplication.class
index 813fda3..f58cad1 100644
Binary files a/sync-admin/target/classes/com/lyr/RuoYiApplication.class and b/sync-admin/target/classes/com/lyr/RuoYiApplication.class differ
diff --git a/sync-admin/target/classes/com/lyr/RuoYiServletInitializer.class b/sync-admin/target/classes/com/lyr/RuoYiServletInitializer.class
index d6cdb13..040a1c4 100644
Binary files a/sync-admin/target/classes/com/lyr/RuoYiServletInitializer.class and b/sync-admin/target/classes/com/lyr/RuoYiServletInitializer.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/common/CaptchaController.class b/sync-admin/target/classes/com/lyr/web/controller/common/CaptchaController.class
index 40b0e43..830c66b 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/common/CaptchaController.class and b/sync-admin/target/classes/com/lyr/web/controller/common/CaptchaController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/common/CommonController.class b/sync-admin/target/classes/com/lyr/web/controller/common/CommonController.class
index 68d2027..1f4d850 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/common/CommonController.class and b/sync-admin/target/classes/com/lyr/web/controller/common/CommonController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/monitor/CacheController.class b/sync-admin/target/classes/com/lyr/web/controller/monitor/CacheController.class
index 96a98c5..e391f75 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/monitor/CacheController.class and b/sync-admin/target/classes/com/lyr/web/controller/monitor/CacheController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class
index 53a2e17..6815240 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class and b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysLogininforController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class
index cb06921..c3ba79b 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class and b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysOperlogController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysUserOnlineController.class b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysUserOnlineController.class
index 7b2b839..ad495bb 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/monitor/SysUserOnlineController.class and b/sync-admin/target/classes/com/lyr/web/controller/monitor/SysUserOnlineController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class
index cc05cf1..946c8bc 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysConfigController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysDeptController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysDeptController.class
index e003d83..e877cbb 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysDeptController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysDeptController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class
index 2dfba68..0126320 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictDataController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class
index 08b29ab..a148984 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysDictTypeController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysLoginController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysLoginController.class
index b9f0923..f4c8a1f 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysLoginController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysLoginController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysMenuController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysMenuController.class
index 2b33997..54312a8 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysMenuController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysMenuController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class
index ac7fd47..a4af0aa 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysNoticeController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class
index 2ae8a2f..0ea0368 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysPostController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysProfileController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysProfileController.class
index 61f3ed2..b8748c7 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysProfileController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysProfileController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysRegisterController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysRegisterController.class
index 539501a..3b0a477 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysRegisterController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysRegisterController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class
index 73a77be..ab5589a 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysRoleController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class b/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class
index 9c546cd..f95bdd2 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class and b/sync-admin/target/classes/com/lyr/web/controller/system/SysUserController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/tool/TestController.class b/sync-admin/target/classes/com/lyr/web/controller/tool/TestController.class
index ca4690c..e7fe5a9 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/tool/TestController.class and b/sync-admin/target/classes/com/lyr/web/controller/tool/TestController.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/controller/tool/UserEntity.class b/sync-admin/target/classes/com/lyr/web/controller/tool/UserEntity.class
index 3f53632..4876d77 100644
Binary files a/sync-admin/target/classes/com/lyr/web/controller/tool/UserEntity.class and b/sync-admin/target/classes/com/lyr/web/controller/tool/UserEntity.class differ
diff --git a/sync-admin/target/classes/com/lyr/web/core/config/SwaggerConfig.class b/sync-admin/target/classes/com/lyr/web/core/config/SwaggerConfig.class
index 383e5ed..a8e1bf7 100644
Binary files a/sync-admin/target/classes/com/lyr/web/core/config/SwaggerConfig.class and b/sync-admin/target/classes/com/lyr/web/core/config/SwaggerConfig.class differ
diff --git a/sync-common/pom.xml b/sync-common/pom.xml
index a084544..4fc76fc 100644
--- a/sync-common/pom.xml
+++ b/sync-common/pom.xml
@@ -114,6 +114,24 @@
javax.servlet-api
+
+ org.mapstruct
+ mapstruct
+
+
+
+ org.projectlombok
+ lombok
+ provided
+
+
+
+ com.google.guava
+ guava
+ 33.2.1-jre
+
+
+
\ No newline at end of file
diff --git a/sync-common/src/main/java/com/lyr/common/core/domain/ServiceResult.java b/sync-common/src/main/java/com/lyr/common/core/domain/ServiceResult.java
new file mode 100644
index 0000000..c681970
--- /dev/null
+++ b/sync-common/src/main/java/com/lyr/common/core/domain/ServiceResult.java
@@ -0,0 +1,31 @@
+package com.lyr.common.core.domain;
+
+import com.google.common.collect.ImmutableMap;
+import com.lyr.common.constant.HttpStatus;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.NoArgsConstructor;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * 操作消息提醒
+ *
+ * @author liyc
+ */
+@NoArgsConstructor
+@AllArgsConstructor
+@Data
+public class ServiceResult extends HashMap {
+
+
+ private Integer code;
+ private String message;
+ private Map data;
+
+ public static ServiceResult success(String name) {
+ ImmutableMap