(idea)调用mybatis方法时,不输出sql语句到控制台,解决方法
在 application.properties 配置文件中添加:logging.level.com.xxx.xxxx=debug
其中 com.xxx.xxxx 为你的项目代码地址(你的代码在那个包就指向哪里) 咧:com.lzb.demo.service
在 application.properties 配置文件中添加:logging.level.com.xxx.xxxx=debug
其中 com.xxx.xxxx 为你的项目代码地址(你的代码在那个包就指向哪里) 咧:com.lzb.demo.service