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