From a379ac818c149b682f70cf8ebc97a3979da17291 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 19 十月 2022 14:18:54 +0800 Subject: [PATCH] 1 --- src/main/resources/application.yml | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 257aa9b..135fc59 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -43,6 +43,7 @@ username : postgres password: postgres driver-class-name: org.postgresql.Driver + paltform: POSTGRESQL type: com.alibaba.druid.pool.DruidDataSource # 閰嶇疆鐩戞帶缁熻鎷︽埅鐨刦ilters锛宻tat:鐩戞帶缁熻銆乴og4j锛氭棩蹇楄褰曘�亀all锛氶槻寰ql娉ㄥ叆 filters: stat,wall,log4j @@ -114,10 +115,17 @@ slow-sql-millis: 2000 # mybatis -mybatis: - type-aliases-package: com.lf.server.mapper +#mybatis: +# type-aliases-package: com.lf.server.entity +# config-location: classpath:mybatis.xml +# mapper-locations: classpath:mapper/**/*.xml + +mybatis-plus: + map-underscore-to-camel-case: true + type-aliases-package: com.lf.server.entity config-location: classpath:mybatis.xml mapper-locations: classpath:mapper/**/*.xml + # logging logging: config: classpath:logback-spring.xml -- Gitblit v1.9.3