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 > ?
posted @ 2018-11-27 17:09  河岸飞流  阅读(3624)  评论(0编辑  收藏  举报

那片笑声让我想起我的那些花儿
在我生命每个角落静静为我开着
我曾以为我会永远守在她身旁
今天我们已经离去在人海茫茫
她们都老了吧 她们在哪里呀
幸运的是我曾陪她们开放