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 > ?