server: port: 9095 spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: oracle.jdbc.OracleDriver url: jdbc:oracle:thin:@122.226.249.238:5936/ORCL username: zmz_prd password: zmzprd druid: initialSize: 5 minIdle: 5 maxActive: 20 maxWait: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 300000 test-while-idle: true test-on-borrow: false test-on-return: false poolPreparedStatements: true keepAlive: true maxPoolPreparedStatementPerConnectionSize: 20 useGlobalDataSourceStat: true connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=500 filter: wall: config: multi-statement-allow: true # mybatis-plus配置 mybatis-plus: global-config: db-config: id-type: INPUT configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl map-underscore-to-camel-case: true jdbc-type-for-null: 'null' type-aliases-package: com.gs.xky.entity.* mapper-locations: classpath:mapper/*.xml logging: level: root: info com.gs.xky.service.XkyService: debug # 指定 XkyService 记录 debug 级别的日志 file: name: logs/xky_service.log # 指定日志文件路径 pattern: file: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n" console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"