support table page query

This commit is contained in:
SwallowGG
2023-10-11 21:30:29 +08:00
parent 787f3baffb
commit 94cc7ba36a
5 changed files with 141 additions and 26 deletions

View File

@ -60,6 +60,22 @@ public class TableController {
request.getPageSize());
}
/**
* 查询当前DB下的表列表
*
* @param request
* @return
*/
@GetMapping("/table_list")
public ListResult<SimpleTable> tableList(@Valid TableBriefQueryRequest request) {
TablePageQueryParam queryParam = rdbWebConverter.tablePageRequest2param(request);
return tableService.queryTables(queryParam);
}
/**
* 查询当前DB下的表columns