From 4b5d0c06baa6542c7d9acde19e97b90232da0c88 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 20 四月 2021 09:42:42 +0800 Subject: [PATCH] 1. 新增获取工业企业信息接口; 2. 调整获取数据接口的结果按照时间升序排列; 3. 新增获取给定时间之后的数据的接口; --- src/main/resources/application.yml | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 00493e3..be99472 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,19 +1,32 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://47.100.191.150:3306/obd?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false - username: obd - password: obd2019 +# url: jdbc:mysql://192.168.0.200:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false +# username: root +# password: cn.FLIGHTFEATHER + + url: jdbc:mysql://localhost:3306/dronemonitor?serverTimezone=Asia/Shanghai&prepStmtCacheSize=517&cachePrepStmts=true&autoReconnect=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false + username: dronemonitor + password: dronemonitor_hackxrnomxm + hikari: + maximum-pool-size: 500 + minimum-idle: 20 + idle-timeout: 60000 + connection-timeout: 60000 + jmx: + enabled: false + + 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 @@ -22,4 +35,4 @@ helperDialect: mysql reasonable: true supportMethodsArguments: true - params: count=countSql \ No newline at end of file + params: count=countSql -- Gitblit v1.9.3