Commit 4b9cb4e6f044a4c4b03ba0daf0dc133048cc9a6d

Authored by 李强
2 parents 4689f140 a70acadf

Merge branch 'master' of git@192.168.168.201:panzhaov5/bsth_control.git

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 }