From ffb758283ece163e04c629def3bd700d292d7f89 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期二, 16 四月 2024 10:12:06 +0800
Subject: [PATCH] 上片模块配置pp表多数据源(可供其他模块配置多数据源参考)
---
hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/resources/application.yml | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/resources/application.yml
index b42ad64..91f65a2 100644
--- a/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/resources/application.yml
@@ -12,6 +12,12 @@
username: root
password: beibo.123/
driver-class-name: com.mysql.cj.jdbc.Driver
+
+# sqlserver:
+# url: jdbc:sqlserver://localhost:1433;databaseName=hangzhoumes
+# username: sa
+# password: beibo.123/
+# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
cloud:
nacos:
discovery:
@@ -24,10 +30,11 @@
port: 6379
password: 123456
mybatis-plus:
- mapper-locations: classpath*:mapper/*.xml
-# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- # 璁剧疆 MyBatis 鏃ュ織绾у埆涓� ERROR
+ mapper-locations: classpath*:mapper/sqlserver/*.xml
+
+ # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+ # 璁剧疆 MyBatis 鏃ュ織绾у埆涓� ERROR
logging:
level:
com:
--
Gitblit v1.8.0