|
|
|
@ -47,13 +47,11 @@ public class ${entityName}Controller extends BaseController {
|
|
|
|
|
*/
|
|
|
|
|
@ApiOperation(value="分页", notes="分页")
|
|
|
|
|
@ApiImplicitParams({
|
|
|
|
|
@ApiImplicitParam(name = "pageNo", value = "分页参数:当前页", dataType = "String", paramType = "query"),
|
|
|
|
|
@ApiImplicitParam(name = "pageNum", value = "分页参数:当前页", dataType = "String", paramType = "query"),
|
|
|
|
|
@ApiImplicitParam(name = "pageSize", value = "分页参数:每页数量", dataType = "String", paramType = "query")
|
|
|
|
|
})
|
|
|
|
|
@GetMapping(value = "/list")
|
|
|
|
|
public TableDataInfo queryPageList(Query${entityName}VO query${entityName}VO,
|
|
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
|
|
|
|
HttpServletRequest req) {
|
|
|
|
|
startPage();
|
|
|
|
|
TableDataInfo tableDataInfo = ${entityName?uncap_first}Service.pageList(query${entityName}VO);
|
|
|
|
|