From 27834cca39e69f226aa9112303f20e57956d5399 Mon Sep 17 00:00:00 2001
From: lpd <1337706942@qq.com>
Date: Tue, 20 Jan 2026 17:39:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E5=BA=93?=
=?UTF-8?q?=E4=B8=BAsqlserver?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lyzsys-dependencies/pom.xml | 131 +++++++++---------
.../pom.xml | 3 +-
.../src/main/resources/application-local.yaml | 15 +-
3 files changed, 79 insertions(+), 70 deletions(-)
diff --git a/lyzsys-dependencies/pom.xml b/lyzsys-dependencies/pom.xml
index b6013fb..af95a65 100644
--- a/lyzsys-dependencies/pom.xml
+++ b/lyzsys-dependencies/pom.xml
@@ -35,6 +35,7 @@
8.1.3.140
8.6.0
5.1.0
+ 12.8.1.jre8
3.7.9
2.3.5
@@ -296,6 +297,12 @@
${kingbase.jdbc.version}
+
+ com.microsoft.sqlserver
+ mssql-jdbc
+ ${sqlserver.jdbc.version}
+
+
com.taosdata.jdbc
taos-jdbcdriver
@@ -453,11 +460,11 @@
flowable-spring-boot-starter-process
${flowable.version}
-
- org.flowable
- flowable-spring-boot-starter-actuator
- ${flowable.version}
-
+
+
+
+
+
@@ -597,23 +604,23 @@
-
- com.alipay.sdk
- alipay-sdk-java
- ${alipay-sdk-java.version}
-
-
- org.bouncycastle
- bcprov-jdk15on
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
- com.github.binarywang
- weixin-java-pay
- ${weixin-java.version}
-
+
+
+
+
+
com.github.binarywang
wx-java-mp-spring-boot-starter
@@ -626,50 +633,50 @@
-
- org.jeecgframework.jimureport
- jimureport-spring-boot-starter
- ${jimureport.version}
-
-
- org.jeecgframework.jimureport
- jimubi-spring-boot-starter
- ${jimubi.version}
-
-
- com.github.jsqlparser
- jsqlparser
-
-
- cn.hutool
- hutool-core
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- io.vertx
- vertx-core
- ${vertx.version}
-
-
- io.vertx
- vertx-web
- ${vertx.version}
-
-
- io.vertx
- vertx-mqtt
- ${vertx.version}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- org.eclipse.paho
- org.eclipse.paho.client.mqttv3
- ${mqtt.version}
-
+
+
+
+
+
+
diff --git a/lyzsys-framework/lyzsys-spring-boot-starter-mybatis/pom.xml b/lyzsys-framework/lyzsys-spring-boot-starter-mybatis/pom.xml
index e3a9b56..5bc7f10 100644
--- a/lyzsys-framework/lyzsys-spring-boot-starter-mybatis/pom.xml
+++ b/lyzsys-framework/lyzsys-spring-boot-starter-mybatis/pom.xml
@@ -32,6 +32,7 @@
com.mysql
mysql-connector-j
+ true
com.oracle.database.jdbc
@@ -43,10 +44,10 @@
postgresql
true
+
com.microsoft.sqlserver
mssql-jdbc
- true
com.dameng
diff --git a/lyzsys-server/src/main/resources/application-local.yaml b/lyzsys-server/src/main/resources/application-local.yaml
index ca07735..1fa33ff 100644
--- a/lyzsys-server/src/main/resources/application-local.yaml
+++ b/lyzsys-server/src/main/resources/application-local.yaml
@@ -48,23 +48,24 @@ spring:
primary: master
datasource:
master:
- url: jdbc:mysql://123.60.156.158:3306/lyz_bus?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
+# url: jdbc:mysql://123.60.156.158:3306/lyz_bus?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
# url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true # MySQL Connector/J 5.X 连接的示例
# url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例
# url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例
- # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=ruoyi-vue-pro;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true;useUnicode=true;characterEncoding=utf-8 # SQLServer 连接的示例
+ url: jdbc:sqlserver://192.168.1.34:1433;DatabaseName=tjt_czjs;SelectMethod=cursor;encrypt=false;rewriteBatchedStatements=true;useUnicode=true;characterEncoding=utf-8 # SQLServer 连接的示例
# url: jdbc:dm://127.0.0.1:5236?schema=RUOYI_VUE_PRO # DM 连接的示例
# url: jdbc:kingbase8://127.0.0.1:54321/test # 人大金仓 KingbaseES 连接的示例
# url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例
- username: lyz_bus
- password: jijrhixEC6HTYrwb
- # username: sa # SQL Server 连接的示例
- # password: Lyzsys@2024 # SQL Server 连接的示例
+# username: lyz_bus
+# password: jijrhixEC6HTYrwb
+ username: sa # SQL Server 连接的示例
+ password: sql123456 # SQL Server 连接的示例
# username: SYSDBA # DM 连接的示例
# password: SYSDBA001 # DM 连接的示例
# username: root # OpenGauss 连接的示例
# password: Lyzsys@2024 # OpenGauss 连接的示例
-# slave: # 模拟从库,可根据自己需要修改
+# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
+ # slave: # 模拟从库,可根据自己需要修改
# lazy: true # 开启懒加载,保证启动速度
# url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
# username: root