Commit d274d56323763834de0eff2e7414e4f618e50205

Authored by 徐烜
2 parents 3540b119 f6afc219

Merge branch 'minhang' of http://222.66.0.204:8090//panzhaov5/bsth_control into minhang

src/main/java/com/bsth/repository/StationRouteRepository.java
@@ -273,6 +273,17 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int @@ -273,6 +273,17 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int
273 "and s.lineCode in(select lineCode from Line where inUse = 1) " + 273 "and s.lineCode in(select lineCode from Line where inUse = 1) " +
274 "ORDER BY " + 274 "ORDER BY " +
275 "lineCode,directions,stationRouteCode") 275 "lineCode,directions,stationRouteCode")
  276 + List<Map<String, String>> findLineWithYgcAndInuse();
  277 +
  278 + @Query("SELECT new map(" +
  279 + "lineCode as lineCode,directions as directions,stationName as stationName,stationCode as stationCode," +
  280 + "line.linePlayType as linePlayType,s.stationMark as stationMark) " +
  281 + "FROM " +
  282 + "StationRoute s " +
  283 + "WHERE " +
  284 + "s.destroy = 0 " +
  285 + "ORDER BY " +
  286 + "lineCode,directions,stationRouteCode")
276 List<Map<String, String>> findAllLineWithYgc(); 287 List<Map<String, String>> findAllLineWithYgc();
277 288
278 @Modifying 289 @Modifying