From 585fb9b67dc81f9e14f2cbf59f1c3a02eb4fe98f Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 11 六月 2020 10:58:23 +0800 Subject: [PATCH] 1.添加无人机多参数的数据接收解析函数 2.添加参数存储函数 --- src/main/resources/application.yml | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index cf37a25..2cbc2a0 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,22 +1,29 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://47.100.191.150:3306/obd?serverTimezone=GMT&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false - username: obd - password: obd2019 +# url: jdbc:mysql://47.100.191.150:3306/uav?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false +# username: uav +# password: obd2019 + + url: jdbc:mysql://114.215.109.124:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false + username: root + password: 123456 + + mybatis: - type-aliases-package: com.flightfeather.obd.domain.entity + type-aliases-package: com.flightfeather.uav.domain.entity mapper-locations: classpath*:mapper/*.xml ## 閫氱敤 Mapper 閰嶇疆 #mappers 澶氫釜鎺ュ彛鏃堕�楀彿闅斿紑 mapper: - mappers: com.flightfeather.obd.domain.MyMapper + mappers: com.flightfeather.uav.domain.MyMapper not-empty: false identity: MYSQL +#鏁版嵁搴撳垎椤甸厤缃� pagehelper: helperDialect: mysql reasonable: true -- Gitblit v1.9.3