Commit ae5b4100a039b1d64ec25ec3fa8eb354296f1180
1 parent
b910777f
1.版本沿用时缺了站级中心点信息
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/repository/LsStationRouteRepository.java
| @@ -160,7 +160,7 @@ public interface LsStationRouteRepository extends BaseRepository<LsStationRoute, | @@ -160,7 +160,7 @@ public interface LsStationRouteRepository extends BaseRepository<LsStationRoute, | ||
| 160 | * @param newVersion | 160 | * @param newVersion |
| 161 | */ | 161 | */ |
| 162 | @Modifying | 162 | @Modifying |
| 163 | - @Query(value="insert into bsth_c_ls_stationroute (line,station,station_name,station_route_code,line_code,station_code,station_mark,out_station_nmber,directions,distances,to_time,first_time,end_time,descriptions,destroy,versions,industry_code,station_name_en,shaped_type,radius,buffer_polygon,buffer_polygon_wgs) select line,station,station_name,station_route_code,line_code,station_code,station_mark,out_station_nmber,directions,distances,to_time,first_time,end_time,descriptions,destroy,?3 as versions,industry_code,station_name_en,shaped_type,radius,buffer_polygon,buffer_polygon_wgs from bsth_c_ls_stationroute where line = ?1 and versions = ?2 and destroy = 0", nativeQuery = true) | 163 | + @Query(value="insert into bsth_c_ls_stationroute (line,station,station_name,station_route_code,line_code,station_code,station_mark,out_station_nmber,directions,distances,to_time,first_time,end_time,descriptions,destroy,versions,industry_code,station_name_en,shaped_type,radius,buffer_polygon,buffer_polygon_wgs,center_point,center_point_wgs) select line,station,station_name,station_route_code,line_code,station_code,station_mark,out_station_nmber,directions,distances,to_time,first_time,end_time,descriptions,destroy,?3 as versions,industry_code,station_name_en,shaped_type,radius,buffer_polygon,buffer_polygon_wgs,center_point,center_point_wgs from bsth_c_ls_stationroute where line = ?1 and versions = ?2 and destroy = 0", nativeQuery = true) |
| 164 | void cloneFromHistoryVersion(Integer lineId, Integer oldVersion, Integer newVersion); | 164 | void cloneFromHistoryVersion(Integer lineId, Integer oldVersion, Integer newVersion); |
| 165 | 165 | ||
| 166 | /** | 166 | /** |