Beispiel #1
0
 public List<TdWarehouse> findAll() {
   return (List<TdWarehouse>) repository.findAll();
 }
Beispiel #2
0
  public Page<TdWarehouse> findAllOrderBySortIdAsc(int page, int size) {
    PageRequest pageRequest = new PageRequest(page, size, new Sort(Direction.ASC, "sortId"));

    return repository.findAll(pageRequest);
  }
Beispiel #3
0
 /**
  * 查找
  *
  * @param ids
  * @return
  */
 public List<TdWarehouse> findAll(Iterable<Long> ids) {
   return (List<TdWarehouse>) repository.findAll(ids);
 }