Commit 2ef0023368bec9a5734b862af92793350d97ee86

Authored by YRF
1 parent 44dc7f53

线路切换上下行问题

Signed-off-by: YRF <YRF@DESKTOP-UNV37O6>
src/main/java/com/bsth/repository/StationRouteRepository.java
... ... @@ -287,7 +287,7 @@ public interface StationRouteRepository extends BaseRepository&lt;StationRoute, Int
287 287 List<Map<String, String>> findAllLineWithYgc();
288 288  
289 289 @Modifying
290   - @Query(value="update bsth_c_stationroute set directions = case directions when 1 then 0 when 0 then 1 end where line_code = ?1 ", nativeQuery=true)
  290 + @Query(value="update bsth_c_stationroute set directions = case directions when 1 then 0 when 0 then 1 end where line = ?1 ", nativeQuery=true)
291 291 public void stationRouteDir(Integer line);
292 292  
293 293 @Modifying
... ...