Commit f68bab4f143f7c5ccf64f8bfdf61427f31d79727
1 parent
78b05be2
修改CarRepository 中方法 findCar sql语句
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/repository/CarsRepository.java
| ... | ... | @@ -13,6 +13,6 @@ public interface CarsRepository extends BaseRepository<Cars, Integer>{ |
| 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 | 15 | |
| 16 | - @Query(value="select s from Cars") | |
| 16 | + @Query(value="select s from Cars s") | |
| 17 | 17 | List<Cars> findCars(); |
| 18 | 18 | } | ... | ... |