Commit 1834d75b3822f082917326d69f6da87e3d27c5d1
1 parent
d07bc963
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/server_rs/base_info/section/buffer/LD_SectionRefreshThread.java
| @@ -48,7 +48,7 @@ public class LD_SectionRefreshThread extends Thread{ | @@ -48,7 +48,7 @@ public class LD_SectionRefreshThread extends Thread{ | ||
| 48 | LD_SectionBufferData.replaceRoutes(routeList); | 48 | LD_SectionBufferData.replaceRoutes(routeList); |
| 49 | 49 | ||
| 50 | //查询路段限速信息 | 50 | //查询路段限速信息 |
| 51 | - List<RoadSpeed> roadSpeedList = jdbcTemplate.query("select * from bsth_c_road_speed where is_start=0", BeanPropertyRowMapper.newInstance(RoadSpeed.class)); | 51 | + List<RoadSpeed> roadSpeedList = jdbcTemplate.query("select id,name,ST_AsText(g_road_vector) as g_road_vector,speed,speed_start_date,speed_end_date,line,is_start,create_date,update_date from bsth_c_road_speed where is_start=0", BeanPropertyRowMapper.newInstance(RoadSpeed.class)); |
| 52 | if(roadSpeedList.size() > 0) | 52 | if(roadSpeedList.size() > 0) |
| 53 | LD_SectionBufferData.putRoadSpeeds(roadSpeedList); | 53 | LD_SectionBufferData.putRoadSpeeds(roadSpeedList); |
| 54 | }catch (Exception e){ | 54 | }catch (Exception e){ |