mybatis-plus 开启sql打印

方法一:

mybatis-plus:
  configuration:
        log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志

 

方法二:

logging:
  level:
    com.chz.mapper: debug

posted @ 2020-04-27 22:03  CyberPelican  阅读(52068)  评论(5编辑  收藏  举报