Commit 78b05be22c809e061de3f8ecfef102d8eccbc127

Authored by 李强
1 parent 7dabbcc2

车辆信息Repository添加查询所有车辆方法 findCars

src/main/java/com/bsth/repository/CarsRepository.java
... ... @@ -12,4 +12,7 @@ public interface CarsRepository extends BaseRepository<Cars, Integer>{
12 12  
13 13 @Query(value="select s from Cars s where s.id in(select e.cl.id from CarConfigInfo e where e.xl.id = ?1) ")
14 14 List<Cars> findCarsByLineId(Integer lineId);
  15 +
  16 + @Query(value="select s from Cars")
  17 + List<Cars> findCars();
15 18 }
... ...