示例#1
0
 public Page<Company> findInScope(int page, int size) {
   PageRequest request = new PageRequest(page, size);
   return companyRepository.findAll(request);
 }
示例#2
0
 public List<Company> findAll() {
   return companyRepository.findAll();
 }