- 方法一、在application.yml添加配置
#mybatis-plus配置控制台打印完整带参数SQL语句
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
方法二、 mapper增加日志等级为debug
logging:
level:
com.chz.mapper: debug
标签:mapper,打印,plus,SQL,mybatis,控制台 From: https://blog.51cto.com/chengzheng183/6350513