From c47bac207b1f49d4cfe8cd98202a96865345a94f Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 15 十一月 2023 09:11:08 +0800
Subject: [PATCH] 修改了sql语句,能同时返回站点名称和设备编号

---
 src/main/resources/application.yml |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 8d60e75..dd7bceb 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -2,9 +2,10 @@
   datasource:
     ds1:
       driver-class-name: com.mysql.cj.jdbc.Driver
-      url: jdbc:mysql://localhost:3306/fume
-      username: fume
-      password: fume_feiyu2023
+#      鐢熶骇鐜
+#      url: jdbc:mysql://localhost:3306/fume
+#      username: fume
+#      password: fume_feiyu2023
 
 #      url: jdbc:mysql://localhost:3306/qianduan_sql
 #      username: root
@@ -14,9 +15,24 @@
 #      username: root
 #      password: 123456
 
+      url: jdbc:mysql://114.215.109.124:3306/fume
+      username: fumeRemote
+      password: feiyu2023
+
 mybatis:
   configuration:
-    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+    log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
     map-underscore-to-camel-case: true
+  type-aliases-package: com.flightfeather.monitor.domain.ds1.entity
+  mapper-locations: classpath*:mapper/**/*.xml
+
+# 閫氱敤 Mapper 閰嶇疆
+# mappers 澶氫釜鎺ュ彛鏃堕�楀彿闅斿紑
+mapper:
+  mappers: com.flightfeather.monitor.domain.util.MyMapper
+  not-empty: false
+  identity: MYSQL
+
 server:
   port: 8081

--
Gitblit v1.9.3