Commit 55504e0a6f3dd926660ff0b15ea0069d52c3d3d7

Authored by 娄高锋
1 parent 4638074e

路段接口加了baidu坐标系字段

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,7 +32,7 @@ public class LD_SectionRefreshThread extends Thread{
32 try { 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 BeanPropertyRowMapper.newInstance(LD_Section.class)); 36 BeanPropertyRowMapper.newInstance(LD_Section.class));
37 37
38 if(sectionList == null || sectionList.size() == 0) 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,6 +18,9 @@ public class LD_Section {
18 /** 路段矢量(空间坐标点集合)--GPS坐标点 */ 18 /** 路段矢量(空间坐标点集合)--GPS坐标点 */
19 private String gsectionVector; 19 private String gsectionVector;
20 20
  21 + /** 路段矢量(空间坐标点集合)--baidu坐标点 */
  22 + private String bsectionVector;
  23 +
21 /** 交叉路 */ 24 /** 交叉路 */
22 private String crosesRoad; 25 private String crosesRoad;
23 26
@@ -56,7 +59,15 @@ public class LD_Section { @@ -56,7 +59,15 @@ public class LD_Section {
56 this.gsectionVector = gsectionVector; 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 return crosesRoad; 71 return crosesRoad;
61 } 72 }
62 73