This commit is contained in:
linfso 2024-06-02 11:53:53 +08:00
parent a2040f8c02
commit 45c1869a22
2 changed files with 6 additions and 6 deletions

View File

@ -92,11 +92,11 @@ mybatis-plus:
type-aliases-package: com.xdadan.**.domain
mapper-locations: classpath*:mapper/**/*Mapper.xml
config-location: classpath:mybatis/mybatis-config.xml
configuration:
cache-enabled: true
map-underscore-to-camel-case: true
lazy-loading-enabled: true
aggressive-lazy-loading: false
# configuration:
# cache-enabled: true
# map-underscore-to-camel-case: true
# lazy-loading-enabled: true
# aggressive-lazy-loading: false
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 1