Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

请问JPA 多表关联查询的时候,基于Pageable的排序怎么实现 #7

@lshz0088

Description

@lshz0088

我控制器部分是用srping的Pageable对象接收翻页和排序的,现在我的代码是这样的:
image
order by的默认参数是com.querydsl.core.types.OrderSpecifier类型
不知如何使用Pageable中的Sort转化为该对象
请不吝赐教

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions