From a15f3dccec3c370f90005068350173768a5e222d Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期四, 23 十一月 2023 16:07:53 +0800 Subject: [PATCH] 新增了根据点位名称查询设备编号的接口 --- src/main/resources/application.yml | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 5588ba3..358ae74 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -2,25 +2,27 @@ datasource: ds1: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/fume +# 鐢熶骇鐜 + url: jdbc:mysql://localhost:3306/fume?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&allowMultiQueries=true&useSSL=false username: fume password: fume_feiyu2023 -# url: jdbc:mysql://localhost:3306/qianduan_sql +# url: jdbc:mysql://localhost:3306/qianduan_sql?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&allowMultiQueries=true&useSSL=false # username: root # password: 1234 -# url: jdbc:mysql://localhost:3306/fume +# url: jdbc:mysql://localhost:3306/fume?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&allowMultiQueries=true&useSSL=false # username: root # password: 123456 -# url: jdbc:mysql://114.215.109.124:3306/fume +# url: jdbc:mysql://114.215.109.124:3306/fume?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&allowMultiQueries=true&useSSL=false # 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 -- Gitblit v1.9.3