Commit a70acadfd73eeab0f2118e197ca9afa399c1e527
1 parent
7065e32b
update
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/bsth/repository/schedule/CarConfigInfoRepository.java
| @@ -4,6 +4,7 @@ import com.bsth.entity.schedule.CarConfigInfo; | @@ -4,6 +4,7 @@ import com.bsth.entity.schedule.CarConfigInfo; | ||
| 4 | import com.bsth.repository.BaseRepository; | 4 | import com.bsth.repository.BaseRepository; |
| 5 | import org.springframework.data.domain.Page; | 5 | import org.springframework.data.domain.Page; |
| 6 | import org.springframework.data.domain.Pageable; | 6 | import org.springframework.data.domain.Pageable; |
| 7 | +import org.springframework.data.jpa.domain.Specification; | ||
| 7 | import org.springframework.data.jpa.repository.EntityGraph; | 8 | import org.springframework.data.jpa.repository.EntityGraph; |
| 8 | import org.springframework.stereotype.Repository; | 9 | import org.springframework.stereotype.Repository; |
| 9 | 10 | ||
| @@ -15,5 +16,5 @@ public interface CarConfigInfoRepository extends BaseRepository<CarConfigInfo, L | @@ -15,5 +16,5 @@ public interface CarConfigInfoRepository extends BaseRepository<CarConfigInfo, L | ||
| 15 | 16 | ||
| 16 | @EntityGraph(value = "carConfigInfo_xl_cl", type = EntityGraph.EntityGraphType.FETCH) | 17 | @EntityGraph(value = "carConfigInfo_xl_cl", type = EntityGraph.EntityGraphType.FETCH) |
| 17 | @Override | 18 | @Override |
| 18 | - Page<CarConfigInfo> findAll(Pageable pageable); | 19 | + Page<CarConfigInfo> findAll(Specification<CarConfigInfo> spec, Pageable pageable); |
| 19 | } | 20 | } |