application.yml配置: logging: level: org.xxx.xxx.mapper: debug 配置mapper所在的包的位置,配置日志等级debug,当debug启动时,会打印sql