Explorar o código

更新 message-service 的 mybatis 配置

reghao hai 5 días
pai
achega
3521f0f017
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      message/message-service/src/main/resources/application.yml

+ 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"