|
@@ -167,8 +167,8 @@ public class UserController extends ControllerSupport {
|
|
|
}
|
|
|
return cb.and(predicates.toArray(new Predicate[predicates.size()]));
|
|
|
};
|
|
|
- Pageable pageable = PageRequest.of(curPage - 1, pageSize, Sort.Direction.DESC,
|
|
|
- "updateTime");
|
|
|
+ Pageable pageable = PageRequest.of(curPage - 1, pageSize, Sort.Direction.DESC, "updateTime",
|
|
|
+ "id");
|
|
|
|
|
|
Page<UserEntity> userList = userRepo.findAll(specification, pageable);
|
|
|
|