1234567891011121314151617181920212223242526272829303132333435 |
- server:
- tomcat:
- uri-encoding: UTF-8
- max-threads: 800
- min-spare-threads: 30
- spring:
- application.name: images
- profiles.active: prod
- # MyBatis配置
- mybatis-plus:
- # 搜索指定包别名
- typeAliasesPackage: cn.com.taiji.**.domain
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
- mapperLocations: classpath*:mapper/**/*Mapper.xml
- # 加载全局的配置文件
- # configLocation: classpath:mybatis/mybatis-config.xml
- # 打印日志
- # configuration:
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- configuration:
- # # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- # # 返回类型为Map,显示null对应的字段
- call-setters-on-nulls: true
- # 开启mybatis的二级缓存
- cache-enabled: true
- global-config:
- db-config:
- logic-delete-field: delFlag # 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2)
- logic-delete-value: 1 # 逻辑已删除值(默认为 )
- logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
- banner: false # 不打印banner
|