SpringBoot 开启 Mybatis 日志 在properties新增: logging.level.org.sysu.rain.Mapper=debug 注意:其中org.sysu.rain是Mapper包位置 等号后面是日志等级。