@GetMapping("/selector")
    public ShenyuAdminResult listPageSelectorDataPermissions(@RequestParam("currentPage") final Integer currentPage,
                                                             @RequestParam("pageSize") final Integer pageSize,
                                                             @RequestParam("userId") final String userId,
                                                             @RequestParam("pluginId") final String pluginId,
                                                             @RequestParam(value = "name", required = false) final String name,
                                                             @Valid @Existed(message = "namespaceId is not existed",
                                                                     provider = NamespaceMapper.class) final String namespaceId) {
        CommonPager<DataPermissionPageVO> selectorList = dataPermissionService.listSelectorsByPage(
                new SelectorQuery(pluginId, name, new PageParameter(currentPage, pageSize), namespaceId), userId);
        return ShenyuAdminResult.success(ShenyuResultMessage.QUERY_SUCCESS, selectorList);
    }
Query paginated selectors with data permission.

@param currentPage current page
@param pageSize    page size
@param userId      user id
@param pluginId    plugin id
@param name        selector name
@param namespaceId namespaceId
@return {@linkplain ShenyuAdminResult}
shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/DataPermissionController.java