123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- orm:
- multi-datasource-enable: true
- spring:
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- stat-view-servlet:
- enabled: true
- login-username: root
- login-password: root
- reset-enable: false
-
- username: archives
- password: archives
- url: jdbc:mysql://192.168.1.124:3307/archives_sys?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&zeroDateTimeBehavior=convertToNull
- driver-class-name: com.mysql.jdbc.Driver
- test-on-borrow: false
- test-on-return: false
- test-while-idle: true
- validation-query: SELECT 1
- async-init: false
- name: system
- filters: log4j,wall,mergeStat
- keep-alive: false
- initial-size: 5
- min-idle: 5
- max-active: 20
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 30000
- datasource:
- sys:
- name: system
- url: jdbc:mysql://192.168.1.124:3307/archives_sys?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&zeroDateTimeBehavior=convertToNull
- driver-class-name: com.mysql.jdbc.Driver
- username: archives
- password: archives
- test-on-borrow: false
- test-on-return: false
- test-while-idle: true
- validation-query: SELECT 1
- async-init: false
- filters: log4j,wall,mergeStat
- keep-alive: false
- initial-size: 5
- min-idle: 5
- max-active: 20
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 30000
- bus:
- name: business
- url: jdbc:mysql://192.168.1.124:3307/archives_mgr?useUnicode=true&characterEncoding=utf-8&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&zeroDateTimeBehavior=convertToNull
- driver-class-name: com.mysql.jdbc.Driver
- username: archives
- password: archives
- test-on-borrow: false
- test-on-return: false
- test-while-idle: true
- validation-query: SELECT 1
- async-init: false
- filters: log4j,wall,mergeStat
- keep-alive: false
- initial-size: 5
- min-idle: 5
- max-active: 20
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 30000
- mybatis-plus:
- mapper-locations: classpath*:mapping/**/*.xml
- type-aliases-package: com.gxzc.zen.api.bus.mapper,com.gxzc.zen.api.sys.mapper
- global-config:
- id-type: 0
- db-column-underline: true
- refresh-mapper: true
-
-
- sql-injector: com.baomidou.mybatisplus.mapper.LogicSqlInjector
- meta-object-handler: com.gxzc.zen.orm.CustomMetaObjectHandler
- configuration:
- map-underscore-to-camel-case: true
- cache-enabled: true
- lazyLoadingEnabled: true
- multipleResultSetsEnabled: true
- interceptors: com.baomidou.mybatisplus.plugins.OptimisticLockerInterceptor
-
|