Mybatis-plus 相关配置
mybatis-plus:
type-enums-package: #对应实体类所在的包
mapper-locations: #mapper 映射文件
configuration:
# 配置控制台sql打印
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 开启驼峰命名映射
map-underscore-to-camel-case: true
# 开启二级缓存
cache-enabled: true
# 开启一对多;多对多懒加载
lazy-loading-enabled: true
aggressive-lazy-loading: false