add 演示Demo增加自定义分页接口案例

This commit is contained in:
疯狂的狮子li
2021-07-21 12:07:12 +08:00
parent ed197ce7ac
commit 85376e8d6e
7 changed files with 74 additions and 9 deletions

View File

@ -48,7 +48,17 @@ public class TestDemoController extends BaseController {
return iTestDemoService.queryPageList(bo);
}
/**
/**
* 自定义分页查询
*/
@ApiOperation("自定义分页查询")
@PreAuthorize("@ss.hasPermi('demo:demo:list')")
@GetMapping("/page")
public TableDataInfo<TestDemoVo> page(@Validated TestDemoQueryBo bo) {
return iTestDemoService.customPageList(bo);
}
/**
* 导出测试单表列表
*/
@ApiOperation("导出测试单表列表")