mirror of
https://gitee.com/smallc/blade-tool.git
synced 2026-07-10 18:39:44 +08:00
⚡ 优化mybatis-plus配置
This commit is contained in:
parent
3943a9f618
commit
b560c9d097
|
|
@ -77,7 +77,7 @@ mybatis-plus:
|
|||
banner: false
|
||||
db-config:
|
||||
#主键类型 0:"数据库ID自增", 1:"不操作", 2:"用户输入ID",3:"数字型snowflake", 4:"全局唯一ID UUID", 5:"字符串型snowflake";
|
||||
id-type: id_worker
|
||||
id-type: auto
|
||||
#字段策略
|
||||
insert-strategy: not_null
|
||||
update-strategy: not_null
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user