1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| 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
|
| mybatis:
| type-aliases-package: com.flightfeather.obd.domain.entity
| mapper-locations: classpath*:mapper/*.xml
|
|
| ## 通用 Mapper 配置
| #mappers 多个接口时逗号隔开
| mapper:
| mappers: com.flightfeather.obd.domain.MyMapper
| not-empty: false
| identity: MYSQL
|
| pagehelper:
| helperDialect: mysql
| reasonable: true
| supportMethodsArguments: true
| params: count=countSql
|
|