前台操作后,后台执行真正的SQL操作,控制台有日志输出
是因为Mybatis-plus的插件原因(Mybatis-plus性能分析插件—PerformanceInter):解决办法
有下面这个配置,去掉即可。一般在MybatisPlusConfig中,
public PerformanceInterceptor performanceInterceptor() {
return new PerformanceInterceptor();
}
Mybatis-plus性能分析插件—PerformanceInter:
#性能分析插件
性能分析拦截器,用于显示每条 SQL 语句及其执行时间