
限制数量
| top first findFirst10ById() findTop30ById() | 
| List people = userRepositor.findByName("xx", new Sort(Direction.ASC, "age")); Page people2 = userRepositor.findByName("xx", new PageRequest(0, 10)); | 

限制数量
| top first findFirst10ById() findTop30ById() | 
| List people = userRepositor.findByName("xx", new Sort(Direction.ASC, "age")); Page people2 = userRepositor.findByName("xx", new PageRequest(0, 10)); |