defaultSort

fun defaultSort(pageable: Pageable, direction: Sort.Direction, vararg properties: String?): Pageable

Return

应用了默认排序的 pageable ;如果传入值已明示了排序则不会任何改变

Parameters

pageable

原始分页排序

direction

方向

properties

默认排序字段