Commit 55504e0a6f3dd926660ff0b15ea0069d52c3d3d7
1 parent
4638074e
路段接口加了baidu坐标系字段
Showing
2 changed files
with
13 additions
and
2 deletions
src/main/java/com/bsth/server_rs/base_info/section/buffer/LD_SectionRefreshThread.java
| ... | ... | @@ -32,7 +32,7 @@ public class LD_SectionRefreshThread extends Thread{ |
| 32 | 32 | try { |
| 33 | 33 | |
| 34 | 34 | //路段信息 |
| 35 | - List<LD_Section> sectionList = jdbcTemplate.query("select section_code,section_name,section_type,ST_AsText(gsection_vector) as gsection_vector,croses_road,versions from bsth_c_section ", | |
| 35 | + List<LD_Section> sectionList = jdbcTemplate.query("select section_code,section_name,section_type,ST_AsText(gsection_vector) as gsection_vector,ST_AsText(bsection_vector) as bsection_vector,croses_road,versions from bsth_c_section ", | |
| 36 | 36 | BeanPropertyRowMapper.newInstance(LD_Section.class)); |
| 37 | 37 | |
| 38 | 38 | if(sectionList == null || sectionList.size() == 0) | ... | ... |
src/main/java/com/bsth/server_rs/base_info/section/entity/LD_Section.java
| ... | ... | @@ -18,6 +18,9 @@ public class LD_Section { |
| 18 | 18 | /** 路段矢量(空间坐标点集合)--GPS坐标点 */ |
| 19 | 19 | private String gsectionVector; |
| 20 | 20 | |
| 21 | + /** 路段矢量(空间坐标点集合)--baidu坐标点 */ | |
| 22 | + private String bsectionVector; | |
| 23 | + | |
| 21 | 24 | /** 交叉路 */ |
| 22 | 25 | private String crosesRoad; |
| 23 | 26 | |
| ... | ... | @@ -56,7 +59,15 @@ public class LD_Section { |
| 56 | 59 | this.gsectionVector = gsectionVector; |
| 57 | 60 | } |
| 58 | 61 | |
| 59 | - public String getCrosesRoad() { | |
| 62 | + public String getBsectionVector() { | |
| 63 | + return bsectionVector; | |
| 64 | + } | |
| 65 | + | |
| 66 | + public void setBsectionVector(String bsectionVector) { | |
| 67 | + this.bsectionVector = bsectionVector; | |
| 68 | + } | |
| 69 | + | |
| 70 | + public String getCrosesRoad() { | |
| 60 | 71 | return crosesRoad; |
| 61 | 72 | } |
| 62 | 73 | ... | ... |