优化mybatis-plus配置

This commit is contained in:
smallchill 2020-04-17 20:53:00 +08:00
parent 3943a9f618
commit b560c9d097

View File

@ -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