use mybatis-plus config
This commit is contained in:
parent
55e988d299
commit
f05ad4d8b0
@ -7,7 +7,7 @@ spring:
|
|||||||
password: ${MALL_MYSQL_PASSWORD}
|
password: ${MALL_MYSQL_PASSWORD}
|
||||||
|
|
||||||
# mybatis
|
# mybatis
|
||||||
mybatis:
|
#mybatis:
|
||||||
# config-location: classpath:mybatis-config.xml
|
# config-location: classpath:mybatis-config.xml
|
||||||
# mapper-locations: classpath:mapper/*.xml
|
# mapper-locations: classpath:mapper/*.xml
|
||||||
# type-aliases-package: cn.iocoder.mall.order.biz.dataobject
|
# type-aliases-package: cn.iocoder.mall.order.biz.dataobject
|
||||||
@ -21,6 +21,7 @@ mybatis-plus:
|
|||||||
id-type: auto
|
id-type: auto
|
||||||
mapper-locations: classpath*:mapper/*.xml
|
mapper-locations: classpath*:mapper/*.xml
|
||||||
type-aliases-package: cn.iocoder.mall.order.biz.dataobject
|
type-aliases-package: cn.iocoder.mall.order.biz.dataobject
|
||||||
|
config-location: classpath:mybatis-config.xml
|
||||||
|
|
||||||
# dubbo
|
# dubbo
|
||||||
dubbo:
|
dubbo:
|
||||||
|
@ -26,7 +26,7 @@ mybatis-plus:
|
|||||||
id-type: auto
|
id-type: auto
|
||||||
mapper-locations: classpath*:mapper/*.xml
|
mapper-locations: classpath*:mapper/*.xml
|
||||||
type-aliases-package: cn.iocoder.mall.promotion.biz.dataobject
|
type-aliases-package: cn.iocoder.mall.promotion.biz.dataobject
|
||||||
|
config-location: classpath:mybatis-config.xml
|
||||||
# dubbo
|
# dubbo
|
||||||
dubbo:
|
dubbo:
|
||||||
application:
|
application:
|
||||||
|
@ -7,19 +7,18 @@ spring:
|
|||||||
password: ${MALL_MYSQL_PASSWORD}
|
password: ${MALL_MYSQL_PASSWORD}
|
||||||
|
|
||||||
# mybatis
|
# mybatis
|
||||||
mybatis:
|
#mybatis:
|
||||||
config-location: classpath:mybatis-config.xml
|
# config-location: classpath:mybatis-config.xml
|
||||||
mapper-locations: classpath:mapper/*.xml
|
# mapper-locations: classpath:mapper/*.xml
|
||||||
type-aliases-package: cn.iocoder.mall.user.biz.dataobject
|
# type-aliases-package: cn.iocoder.mall.user.biz.dataobject
|
||||||
|
|
||||||
# mybatis-plus
|
# mybatis-plus
|
||||||
#mybatis-plus:
|
mybatis-plus:
|
||||||
# configuration:
|
configuration:
|
||||||
# mapUnderscoreToCamelCase: true # 虽然默认为 true ,但是还是显示去指定下。
|
mapUnderscoreToCamelCase: true # 虽然默认为 true ,但是还是显示去指定下。
|
||||||
# mapperLocations: classpath*:mapper/*.xml
|
mapperLocations: classpath*:mapper/*.xml
|
||||||
# typeAliasesPackage: cn.iocoder.mall.user.biz.dataobject
|
typeAliasesPackage: cn.iocoder.mall.user.biz.dataobject
|
||||||
# mapper-locations: classpath*:mapper/*.xml
|
config-location: classpath:mybatis-config.xml
|
||||||
# type-aliases-package: cn.iocoder.mall.user.biz.dataobject
|
|
||||||
|
|
||||||
# dubbo
|
# dubbo
|
||||||
dubbo:
|
dubbo:
|
||||||
|
Loading…
Reference in New Issue
Block a user