Commit cf7281b0415107c78b6502744acd27df59dcd690

Authored by 游瑞烽
1 parent 7c2cf928

update

src/main/java/com/bsth/controller/StationRouteController.java
@@ -72,11 +72,11 @@ public class StationRouteController extends BaseController<StationRoute, Integer @@ -72,11 +72,11 @@ public class StationRouteController extends BaseController<StationRoute, Integer
72 } 72 }
73 73
74 /** 74 /**
75 - * @param String 75 + * @param map
76 * @throws 76 * @throws
77 * @Description: TODO(批量撤销站点) 77 * @Description: TODO(批量撤销站点)
78 */ 78 */
79 - @RequestMapping(value = "/batchDestroy", method = RequestMethod.GET) 79 + @RequestMapping(value = "/batchDestroy", method = RequestMethod.POST)
80 public Map<String, Object> updateBatch(@RequestParam Map<String, Object> map) { 80 public Map<String, Object> updateBatch(@RequestParam Map<String, Object> map) {
81 return service.updateStationRouteInfoFormId(map); 81 return service.updateStationRouteInfoFormId(map);
82 } 82 }
src/main/java/com/bsth/service/impl/SectionServiceImpl.java
@@ -147,7 +147,7 @@ public class SectionServiceImpl extends BaseServiceImpl&lt;Section, Integer&gt; implem @@ -147,7 +147,7 @@ public class SectionServiceImpl extends BaseServiceImpl&lt;Section, Integer&gt; implem
147 String startNode=""; 147 String startNode="";
148 String middleNode=""; 148 String middleNode="";
149 String sectionType=""; 149 String sectionType="";
150 - String csectionVector=""; 150 + String csectionVector=null;
151 // 撤销原有路段路由 151 // 撤销原有路段路由
152 routeRepository.sectionRouteUpdDestroy(sectionRouteLine,directions); 152 routeRepository.sectionRouteUpdDestroy(sectionRouteLine,directions);
153 // 路段保存 153 // 路段保存
@@ -281,7 +281,7 @@ public class SectionServiceImpl extends BaseServiceImpl&lt;Section, Integer&gt; implem @@ -281,7 +281,7 @@ public class SectionServiceImpl extends BaseServiceImpl&lt;Section, Integer&gt; implem
281 String startNode=""; 281 String startNode="";
282 String middleNode=""; 282 String middleNode="";
283 String sectionType=""; 283 String sectionType="";
284 - String csectionVector=""; 284 + String csectionVector=null;
285 // 删除原有历史版本路段路由 285 // 删除原有历史版本路段路由
286 lsRouteRepository.batchDelete(sectionRouteLine,directions,versions); 286 lsRouteRepository.batchDelete(sectionRouteLine,directions,versions);
287 // 路段保存 287 // 路段保存
src/main/java/com/bsth/service/impl/StationServiceImpl.java
@@ -1309,7 +1309,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem @@ -1309,7 +1309,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
1309 // 原坐标点集合 1309 // 原坐标点集合
1310 String bsectionVector = "LINESTRING(" + sectionsBpoints + ")"; 1310 String bsectionVector = "LINESTRING(" + sectionsBpoints + ")";
1311 // 城建坐标点集合 1311 // 城建坐标点集合
1312 - String csectionVector = ""; 1312 + String csectionVector = null;
1313 // 路段类型 1313 // 路段类型
1314 String sectionType = ""; 1314 String sectionType = "";
1315 // 道路编码 1315 // 道路编码
@@ -1700,7 +1700,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem @@ -1700,7 +1700,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
1700 // 原坐标点集合 1700 // 原坐标点集合
1701 String bsectionVector = "LINESTRING(" + sectionsBpoints + ")"; 1701 String bsectionVector = "LINESTRING(" + sectionsBpoints + ")";
1702 // 城建坐标点集合 1702 // 城建坐标点集合
1703 - String csectionVector = ""; 1703 + String csectionVector = null;
1704 // 路段类型 1704 // 路段类型
1705 String sectionType = ""; 1705 String sectionType = "";
1706 // 道路编码 1706 // 道路编码