Commit 63d137b20333f7b257d3e454113c04332fe17400

Authored by ljq
2 parents 926061a1 e9d1dbc6

Merge branch 'lggj' of http://192.168.168.245:8888/panzhaov5/bsth_control into lggj

src/main/java/com/bsth/repository/LsStationRouteRepository.java
@@ -182,6 +182,6 @@ public interface LsStationRouteRepository extends BaseRepository<LsStationRoute, @@ -182,6 +182,6 @@ public interface LsStationRouteRepository extends BaseRepository<LsStationRoute,
182 * @param end 182 * @param end
183 * @return 183 * @return
184 */ 184 */
185 - @Query(value = "SELECT * FROM bsth_c_ls_stationroute WHERE line = :#{#lineId} AND directions = :#{#direction} AND versions IN (SELECT versions FROM bsth_c_line_versions WHERE line = 12148 AND (:#{#begin} BETWEEN start_date AND end_date OR :#{#end} BETWEEN start_date AND end_date)) ORDER BY versions,station_route_code", nativeQuery = true) 185 + @Query(value = "SELECT * FROM bsth_c_ls_stationroute WHERE line = :#{#lineId} AND directions = :#{#direction} AND versions IN (SELECT versions FROM bsth_c_line_versions WHERE line = :#{#lineId} AND (:#{#begin} BETWEEN start_date AND end_date OR :#{#end} BETWEEN start_date AND end_date)) ORDER BY versions,station_route_code", nativeQuery = true)
186 List<LsStationRoute> findByLineDirectionDate(Integer lineId, Integer direction, Date begin, Date end); 186 List<LsStationRoute> findByLineDirectionDate(Integer lineId, Integer direction, Date begin, Date end);
187 } 187 }