mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl配置之后打印sql如下:
==> Preparing: SELECT id,name,age,email,parent_id,create_time FROM user WHERE name=? AND age=?
==> Parameters: 梅长苏(String), 30(Integer), 梅长苏(String), 30(Integer)
<== Columns: id, name, age, email, parent_id, create_time
<== Row: 1, 梅长苏, 30, mei@qq.com, null, 2019-01-11 14:20:20
<== Total: 1
版权声明:本文为qq_22701869原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。