default CommonPager<R> searchByPageToPager(final PageCondition<Q> pageCondition) {
        final PageInfo<R> pageInfo = searchByPage(pageCondition);
        return new CommonPager<>(new PageParameter(pageCondition.getPageNum(), pageCondition.getPageSize(), (int) pageInfo.getTotal()), pageInfo.getList());
    }
search by page condition.

@param pageCondition page condition
@return list
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/PageService.java