use mybatis-plus config

This commit is contained in:
Autorun
2019-05-15 15:13:54 +08:00
parent 55e988d299
commit f05ad4d8b0
3 changed files with 13 additions and 13 deletions

View File

@@ -7,19 +7,18 @@ spring:
password: ${MALL_MYSQL_PASSWORD}
# mybatis
mybatis:
config-location: classpath:mybatis-config.xml
mapper-locations: classpath:mapper/*.xml
type-aliases-package: cn.iocoder.mall.user.biz.dataobject
#mybatis:
# config-location: classpath:mybatis-config.xml
# mapper-locations: classpath:mapper/*.xml
# type-aliases-package: cn.iocoder.mall.user.biz.dataobject
# mybatis-plus
#mybatis-plus:
# configuration:
# mapUnderscoreToCamelCase: true # 虽然默认为 true ,但是还是显示去指定下。
# mapperLocations: classpath*:mapper/*.xml
# typeAliasesPackage: cn.iocoder.mall.user.biz.dataobject
# mapper-locations: classpath*:mapper/*.xml
# type-aliases-package: cn.iocoder.mall.user.biz.dataobject
mybatis-plus:
configuration:
mapUnderscoreToCamelCase: true # 虽然默认为 true ,但是还是显示去指定下。
mapperLocations: classpath*:mapper/*.xml
typeAliasesPackage: cn.iocoder.mall.user.biz.dataobject
config-location: classpath:mybatis-config.xml
# dubbo
dubbo: