springboot中使用mybatis显示执行sql


springboot 中使用mybatis显示执行sql的配置,在properties中添加如下

logging.你的包名=debug

    2018-11-27 16:35:43.044 [DubboServerHandler-10.5.110.6:17003-thread-5] DEBUG c.i.e.n.h.c.w.p.dao.mysql.TWorkMapper.getWaitListCount - ==>  Preparing: 
     select count(*) from ai_t_work a where isdeleted = 0 and teacherid = ? and sendtime > ?


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM