添加打印MyBatis 日志 springboot 启动执行函数

实现 CommandLineRunner 或 ApplicationRunner 实现其中的run方法


springboot 项目打印sql日志

logging.level.com.xxx.apais.dao=debug//com.xxx.apais 为dao的包路径

猜你喜欢

转载自blog.csdn.net/qq_27986007/article/details/80843350
今日推荐