Преглед изворни кода

更新 message-service 的 mybatis 配置

reghao пре 1 месец
родитељ
комит
3521f0f017
1 измењених фајлова са 5 додато и 0 уклоњено
  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"