Mybatis-plus的IdType配置问题 #1789

This commit is contained in:
zhangdaiscott 2020-09-23 18:03:32 +08:00
parent 06c5c6c848
commit 6ec8327cf7
3 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ mybatis-plus:
banner: false
db-config:
#主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
id-type: 4
id-type: ASSIGN_ID
# 默认数据库表下划线命名
table-underline: true
configuration:

View File

@ -158,7 +158,7 @@ mybatis-plus:
banner: false
db-config:
#主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
id-type: 4
id-type: ASSIGN_ID
# 默认数据库表下划线命名
table-underline: true
configuration:

View File

@ -158,7 +158,7 @@ mybatis-plus:
banner: false
db-config:
#主键类型 0:"数据库ID自增",1:"该类型为未设置主键类型", 2:"用户输入ID",3:"全局唯一ID (数字类型唯一ID)", 4:"全局唯一ID UUID",5:"字符串全局唯一ID (idWorker 的字符串表示)";
id-type: 4
id-type: ASSIGN_ID
# 默认数据库表下划线命名
table-underline: true
configuration: