Sort sort = new Sort(Sort.Direction.DESC, "createdate") .and(new Sort(Sort.Direction.AES, "id")); Pageable pageable = new PageRequest(1, 10, sort)
Sort sort = new Sort(Sort.Direction.DESC, "createdate") .and(new Sort(Sort.Direction.AES, "id")); Pageable pageable = new PageRequest(1, 10, sort)
转载于:https://www.cnblogs.com/sonder/p/10000273.html