server: port: 10010 tomcat: uri-encoding: utf-8 max-http-form-post-size: -1 connection-timeout: 18000000s spring: servlet: multipart: # 配置上传文件的大小设置 # Single file max size 即单个文件大小 max-file-size: 10000MB max-request-size: 10000MB datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://118.190.47.230:3306/man_hour_manager?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8 username: root password: p011430seya1026 hikari: maximum-pool-size: 10 minimum-idle: 3 max-lifetime: 30000 connection-test-query: SELECT 1 #######redis配置###### # redis redis: host: 127.0.0.1 port: 6379 timeout: 3 # password: pool: minIdle: 1 maxIdle: 10 maxWait: 3 maxActive: 8 ##########日志配置 logging: level: root: info org.mybatis: debug java.sql: debug org.springframework.web: trace #打印sql语句 com.management.platform.mapper: debug path: E:/ ########## mybatis-plus: # mapper-locations: classpath:mapper/*/*.xml # #实体扫描,多个package用逗号或者分号分隔 # typeAliasesPackage: com.hssx.cloudmodel global-config: #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; id-type: 0 #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" field-strategy: 2 db-column-underline: true refresh-mapper: #################插入和更新非null判断 db-config: insert-strategy: not_null update-strategy: not_null configuration: map-underscore-to-camel-case: true cache-enabled: false mybatis: type-aliases-package: com.management.platform.entity mapper-locations: mappers/*Mapper.xml ######mybstis配置#######