Ver código fonte

更新 message-service 的 mybatis 配置

reghao 1 mês atrás
pai
commit
3521f0f017

+ 5 - 0
message/message-service/src/main/resources/application.yml

@@ -22,6 +22,11 @@ spring:
   mvc:
     pathmatch:
       matching-strategy: ant_path_matcher
+mybatis:
+  configuration:
+    map-underscore-to-camel-case: true
+  mapper-locations: classpath*:mapper/**.xml
+  type-aliases-package: cn.reghao.tnb.message.app.model.po
 hystrix:
   dashboard:
     proxy-stream-allow-list: "127.0.0.1"