摘要:
1.MP的性能插件用于输出每条sql以及执行时间。 ①导入插件 @Bean @Profile({"dev","test"})//设置dev test环境开启,保证效率 public PerformanceInterceptor performanceInterceptor(){ Performanc 阅读全文
posted @ 2021-03-09 22:35
飞飞乐园
阅读(96)
评论(0)
推荐(0)
摘要:
1.分页查询 ①配置类中追加分页插件 //注册分页插件 @Bean public PaginationInterceptor paginationInterceptor() { return new PaginationInterceptor(); } ②测试分页查询 //测试分页查询 @Test 阅读全文
posted @ 2021-03-09 20:56
飞飞乐园
阅读(237)
评论(0)
推荐(0)
浙公网安备 33010602011771号