修改配置
This commit is contained in:
@@ -35,13 +35,13 @@ zyplayer:
|
|||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
mapper-locations: classpath:/mapper/**/*Mapper.xml
|
mapper-locations: classpath:/mapper/**/*Mapper.xml
|
||||||
#实体扫描,多个package用逗号或者分号分隔
|
#实体扫描,多个package用逗号或者分号分隔
|
||||||
typeAliasesPackage: com.baomidou.springboot.entity
|
typeAliasesPackage: com.zyplayer.doc.manage.repository.manage.entity
|
||||||
typeEnumsPackage: com.baomidou.springboot.entity.enums
|
typeEnumsPackage:
|
||||||
global-config:
|
global-config:
|
||||||
# 数据库相关配置
|
# 数据库相关配置
|
||||||
db-config:
|
db-config:
|
||||||
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
|
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
|
||||||
id-type: id_worker
|
id-type: AUTO
|
||||||
#字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
|
#字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
|
||||||
field-strategy: not_empty
|
field-strategy: not_empty
|
||||||
#驼峰下划线转换
|
#驼峰下划线转换
|
||||||
|
|||||||
Reference in New Issue
Block a user