//排序
JPAQuery<Customer> orderBy = customer.orderBy(QCustomer.qcustomer.createTime.desc());
//分页
JPAQuery<Customer> limit = orderBy.offset(customerInputListPCInputParam.getPage().longValue() * customerInputListPCInputParam.getSize().longValue())
.limit(customerInputListPCInputParam.getSize().longValue()).fetchAll();
标签:orderBy,分页,longValue,customerInputListPCInputParam,limit,排序,jpaDSL
From: https://www.cnblogs.com/Arborblog/p/16631822.html