pageable多字段排序问题
Posted sonder
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了pageable多字段排序问题相关的知识,希望对你有一定的参考价值。
Sort sort = new Sort(Sort.Direction.DESC, "createdate") .and(new Sort(Sort.Direction.AES, "id")); Pageable pageable = new PageRequest(1, 10, sort)
以上是关于pageable多字段排序问题的主要内容,如果未能解决你的问题,请参考以下文章