mybatis-plus 开启sql打印

方法一:

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

方法二:

logging:
  level:
    com.chz.mapper: debug

猜你喜欢

转载自www.cnblogs.com/kikochz/p/12790529.html