application.yml文件添加(.properties把":“换成”." 写到一行上)
#日志
logging:
level:
com.example.service.mapper: debug (对应项目的mapper层路径)
springboot 配置mybatis sql的打印

相关文章: