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