提交 5d479483 authored 作者: 陈世营's avatar 陈世营

update config

上级 8ceb1b48
...@@ -66,14 +66,6 @@ spring: ...@@ -66,14 +66,6 @@ spring:
#slave-data-source-names: ds-slave-0,ds-slave-1 #slave-data-source-names: ds-slave-0,ds-slave-1
slave-data-source-names: ds-slave-0 slave-data-source-names: ds-slave-0
#mybatis:
# mapper-locations: classpath:/mapper/**/*.xml #把xml文件放在com.XX.mapper.*中可能会出现找到的问题,这里把他放在resource下的mapper中
# #实体扫描,多个package用逗号或者分号分隔
# typeAliasesPackage: com.company.spring.boot.shardingsphere.seata.modules.entity #这里是实体类的位置
# configuration:
# map-underscore-to-camel-case: true
# cache-enabled: false
mybatis-plus: mybatis-plus:
# datasource: dataSource # datasource: dataSource
mapper-locations: classpath:/mapper/**/*.xml mapper-locations: classpath:/mapper/**/*.xml
......
...@@ -82,14 +82,6 @@ spring: ...@@ -82,14 +82,6 @@ spring:
props: props:
worker.id: 123 worker.id: 123
#mybatis:
# mapper-locations: classpath:/mapper/**/*.xml #把xml文件放在com.XX.mapper.*中可能会出现找到的问题,这里把他放在resource下的mapper中
# #实体扫描,多个package用逗号或者分号分隔
# typeAliasesPackage: com.company.spring.boot.shardingsphere.seata.modules.entity #这里是实体类的位置
# configuration:
# map-underscore-to-camel-case: true
# cache-enabled: false
mybatis-plus: mybatis-plus:
# datasource: dataSource # datasource: dataSource
mapper-locations: classpath:/mapper/**/*.xml mapper-locations: classpath:/mapper/**/*.xml
......
...@@ -56,13 +56,6 @@ spring: ...@@ -56,13 +56,6 @@ spring:
props: props:
worker.id: 123 worker.id: 123
#mybatis:
# mapper-locations: classpath:/mapper/**/*.xml #把xml文件放在com.XX.mapper.*中可能会出现找到的问题,这里把他放在resource下的mapper中
# #实体扫描,多个package用逗号或者分号分隔
# typeAliasesPackage: com.company.spring.boot.shardingsphere.seata.modules.entity #这里是实体类的位置
# configuration:
# map-underscore-to-camel-case: true
# cache-enabled: false
mybatis-plus: mybatis-plus:
# datasource: dataSource # datasource: dataSource
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论