摘要:
1.MP的性能插件用于输出每条sql以及执行时间。 ①导入插件 @Bean @Profile({"dev","test"})//设置dev test环境开启,保证效率 public PerformanceInterceptor performanceInterceptor(){ Performanc 阅读全文
摘要:
1.分页查询 ①配置类中追加分页插件 //注册分页插件 @Bean public PaginationInterceptor paginationInterceptor() { return new PaginationInterceptor(); } ②测试分页查询 //测试分页查询 @Test 阅读全文