Commit c1bd886d authored by tangtuo's avatar tangtuo

修改mybatisplus配置

parent f94ef3af
...@@ -33,7 +33,7 @@ spring: ...@@ -33,7 +33,7 @@ spring:
props: props:
# 开启SQL显示,默认false # 开启SQL显示,默认false
sql: sql:
show: true show: false
redis: redis:
host: 172.16.101.135 host: 172.16.101.135
port: 6379 port: 6379
......
...@@ -33,7 +33,7 @@ spring: ...@@ -33,7 +33,7 @@ spring:
props: props:
# 开启SQL显示,默认false # 开启SQL显示,默认false
sql: sql:
show: true show: false
redis: redis:
host: localhost host: localhost
port: 6379 port: 6379
......
...@@ -15,10 +15,10 @@ mybatis-plus: ...@@ -15,10 +15,10 @@ mybatis-plus:
type-aliases-package: com.fzm.common.entity type-aliases-package: com.fzm.common.entity
mapper-locations: classpath:mapper/*.xml mapper-locations: classpath:mapper/*.xml
configuration: configuration:
log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true map-underscore-to-camel-case: true
logging: logging:
level: level:
com.baomidou.example.mapper: debug com.fzm.common.mapper: debug
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<!-- 添加附加的appender,最多只能添加一个 --> <!-- 添加附加的appender,最多只能添加一个 -->
<appender-ref ref="INFO_FILE"/> <appender-ref ref="INFO_FILE"/>
</appender> </appender>
<logger name="com.ibatis" level="debug" addtivity="false"/> <logger name="com.baomidou" level="debug" addtivity="false"/>
<logger name="java.sql.Connection" level="debug"/> <logger name="java.sql.Connection" level="debug"/>
<logger name="java.sql.Statement" level="debug"/> <logger name="java.sql.Statement" level="debug"/>
<logger name="java.sql.PreparedStatement" level="debug"/> <logger name="java.sql.PreparedStatement" level="debug"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment