Commit c31a8f68a79e33a6a340985c02ee8426daabb27a
1 parent
d3309470
运管处路单上传BUG修改
Showing
1 changed file
with
1 additions
and
3 deletions
src/main/java/com/bsth/repository/StationRouteRepository.java
| @@ -3,7 +3,6 @@ package com.bsth.repository; | @@ -3,7 +3,6 @@ package com.bsth.repository; | ||
| 3 | import java.util.List; | 3 | import java.util.List; |
| 4 | import java.util.Map; | 4 | import java.util.Map; |
| 5 | 5 | ||
| 6 | -import com.bsth.entity.schedule.CarConfigInfo; | ||
| 7 | import org.springframework.data.domain.Page; | 6 | import org.springframework.data.domain.Page; |
| 8 | import org.springframework.data.domain.Pageable; | 7 | import org.springframework.data.domain.Pageable; |
| 9 | import org.springframework.data.domain.Sort; | 8 | import org.springframework.data.domain.Sort; |
| @@ -15,7 +14,6 @@ import org.springframework.stereotype.Repository; | @@ -15,7 +14,6 @@ import org.springframework.stereotype.Repository; | ||
| 15 | import org.springframework.transaction.annotation.Transactional; | 14 | import org.springframework.transaction.annotation.Transactional; |
| 16 | 15 | ||
| 17 | import com.bsth.entity.Line; | 16 | import com.bsth.entity.Line; |
| 18 | -import com.bsth.entity.LineInformation; | ||
| 19 | import com.bsth.entity.StationRoute; | 17 | import com.bsth.entity.StationRoute; |
| 20 | 18 | ||
| 21 | /** | 19 | /** |
| @@ -262,7 +260,7 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int | @@ -262,7 +260,7 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int | ||
| 262 | List<StationRoute> findByLineCode(String lineCode); | 260 | List<StationRoute> findByLineCode(String lineCode); |
| 263 | 261 | ||
| 264 | @Query("SELECT " + | 262 | @Query("SELECT " + |
| 265 | - "lineCode,directions,stationName,stationRouteCode " + | 263 | + "lineCode,directions,stationName,stationCode " + |
| 266 | "FROM " + | 264 | "FROM " + |
| 267 | "StationRoute s " + | 265 | "StationRoute s " + |
| 268 | "WHERE " + | 266 | "WHERE " + |