Merge branch 'feature/my-invitation' into preview

feature/comment
yang 2024-12-30 17:09:30 +08:00
commit 6ebed7b289
1 changed files with 18 additions and 0 deletions

View File

@ -59,3 +59,21 @@ spring:
wall:
config:
multi-statement-allow: true
mybatis-plus:
# Mapper XML文件位置
mapper-locations: classpath:mapper/**/*.xml
# 配置实体类所在的包名MyBatis-Plus会自动扫描并注册为别名
type-aliases-package: com.mcwl.**.mapper
# 全局配置
global-config:
db-config:
# 主键生成策略
id-type: auto
# 开启驼峰命名规则转换
capital-mode: true
# 配置逻辑删除相关属性
logic-delete-field: del_flag
logic-delete-value: '2'
logic-not-delete-value: '0'
# 数据库字段下划线命名规则
table-underline: true