2 changed files with 30 additions and 0 deletions
@ -0,0 +1,22 @@ |
|||||
|
package io.xtfs.jwebfs.repository; |
||||
|
|
||||
|
import io.xtfs.jwebfs.bean.WbFile; |
||||
|
import org.springframework.data.domain.Page; |
||||
|
import org.springframework.data.domain.Pageable; |
||||
|
import org.springframework.data.jpa.repository.JpaRepository; |
||||
|
|
||||
|
public interface WbFileRepository extends JpaRepository<WbFile,Integer> { |
||||
|
/** |
||||
|
* single |
||||
|
* @param id |
||||
|
* @return |
||||
|
*/ |
||||
|
WbFile findAllById(Integer id); |
||||
|
|
||||
|
/** |
||||
|
* list |
||||
|
* @param pageable |
||||
|
* @return |
||||
|
*/ |
||||
|
Page<WbFile> findAll(Pageable pageable); |
||||
|
} |
||||
Loading…
Reference in new issue