Commit 739759743614981b3c8899725ce26fcd1c7a2913
1 parent
0c93f011
add findAll
Showing
1 changed file
with
4 additions
and
0 deletions
src/main/java/com/bsth/repository/schedule/CarConfigInfoRepository.java
| @@ -21,6 +21,10 @@ public interface CarConfigInfoRepository extends BaseRepository<CarConfigInfo, L | @@ -21,6 +21,10 @@ public interface CarConfigInfoRepository extends BaseRepository<CarConfigInfo, L | ||
| 21 | @EntityGraph(value = "carConfigInfo_xl_cl", type = EntityGraph.EntityGraphType.FETCH) | 21 | @EntityGraph(value = "carConfigInfo_xl_cl", type = EntityGraph.EntityGraphType.FETCH) |
| 22 | @Override | 22 | @Override |
| 23 | Page<CarConfigInfo> findAll(Specification<CarConfigInfo> spec, Pageable pageable); | 23 | Page<CarConfigInfo> findAll(Specification<CarConfigInfo> spec, Pageable pageable); |
| 24 | + | ||
| 25 | + @EntityGraph(value = "carConfigInfo_xl_cl", type = EntityGraph.EntityGraphType.FETCH) | ||
| 26 | + @Override | ||
| 27 | + List<CarConfigInfo> findAll(Specification<CarConfigInfo> spec); | ||
| 24 | 28 | ||
| 25 | @EntityGraph(value = "carConfigInfo_xl_cl", type = EntityGraph.EntityGraphType.FETCH) | 29 | @EntityGraph(value = "carConfigInfo_xl_cl", type = EntityGraph.EntityGraphType.FETCH) |
| 26 | @Query("select cc from CarConfigInfo cc where cc.id=?1") | 30 | @Query("select cc from CarConfigInfo cc where cc.id=?1") |