spring boot 版本2.1.5

mybatis plus 版本3.1.1

aplication.properties中添加

logging.level.com.demo.system.mapper=debug

注意:com.demo.system.mapper 替换成你自己要扫描的mapper文件所在的包

效果
spring boot 配置mybatis plus 控制台打印sql

 

 

相关文章:

  • 2021-06-18
  • 2021-12-12
  • 2021-07-07
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-01-18
猜你喜欢
  • 2022-12-23
  • 2021-11-09
  • 2022-02-24
  • 2021-07-31
  • 2022-01-26
  • 2021-12-06
  • 2022-12-23
相关资源
相似解决方案