springboot 整合mybatisplus输出sql语句不输出结果集
mybatis# 日志配置logging:level:#基础包com.ruoyi: debug#指定报的日志级别org.springframework: warn# MyBatismybatis:# 搜索指定包别名typeAliasesPackage: com.ruoyi.**.domain# 配置mapper的扫描,找到所有的mapper.xml映射文件mapperLocations: clas
·
mybatis-plus:
# 日志配置
logging:
level:
#基础包
com.ruoyi: debug
#指定报的日志级别
org.springframework: warn
mybatis-plus:
mapper-locations: classpath*:com/gblfy/**/mapping/*.xml
configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
注:把log-impl注释掉
更多推荐
已为社区贡献41条内容
所有评论(0)