@GetMapping("/list")
    public WebPageResult<TableVO> list(@Valid TableBriefQueryRequest request) {
        TablePageQueryParam queryParam = rdbWebConverter.tablePageRequest2param(request);
        TableSelector tableSelector = new TableSelector();
        tableSelector.setColumnList(false);
        tableSelector.setIndexList(false);
        PageResult<Table> tableDTOPageResult = tableService.pageQuery(queryParam, tableSelector);
        List<TableVO> tableVOS = rdbWebConverter.tableDto2vo(tableDTOPageResult.getData());
//        ConnectInfo connectInfo = Chat2DBContext.getConnectInfo();
//        singleThreadExecutor.submit(() -> {
//            try {
//                Chat2DBContext.putContext(connectInfo);
//                syncTableVector(request);
////                syncTableEs(request);
//            } catch (Exception e) {
//                log.error("sync table vector error", e);
//            } finally {
//                Chat2DBContext.removeContext();
//            }
//            log.info("sync table vector finish");
//        });
        return WebPageResult.of(tableVOS, tableDTOPageResult.getTotal(), request.getPageNo(),
                request.getPageSize());
    }
Query the table list under the current DB

@param request
@return
chat2db-server/chat2db-server-web/chat2db-server-web-api/src/main/java/ai/chat2db/server/web/api/controller/rdb/TableController.java