|
@@ -306,6 +306,66 @@ public class OTMSController {
|
|
|
return otmsFeign.findSelections();
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value="查询点")
|
|
|
+ @PostMapping(value = "/getMapVertex")
|
|
|
+ public RESTfulResult getMapVertex(@RequestBody Map<String,Object> map,
|
|
|
+ @RequestParam Integer apiId,
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
+ @RequestParam Integer pageSize){
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return otmsFeign.getMapVertex(map,apiId,pageNum,pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="查询边")
|
|
|
+ @PostMapping(value = "/getMapEdge")
|
|
|
+ public RESTfulResult getMapEdge(@RequestBody Map<String,Object> map,
|
|
|
+ @RequestParam Integer apiId,
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
+ @RequestParam Integer pageSize){
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return otmsFeign.getMapEdge(map,apiId,pageNum,pageSize);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="新增点")
|
|
|
+ @PostMapping(value = "/addMapVertex")
|
|
|
+ public RESTfulResult addMapVertex(@RequestBody Map<String,Object> map){
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return otmsFeign.addMapVertex(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="新增边")
|
|
|
+ @PostMapping(value = "/addMapEdge")
|
|
|
+ public RESTfulResult addMapEdge(@RequestBody Map<String,Object> map){
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return otmsFeign.addMapEdge(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="删除点")
|
|
|
+ @PostMapping(value = "/delMapVertex")
|
|
|
+ public RESTfulResult delMapVertex(@RequestBody Map<String,Object> map){
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return otmsFeign.delMapVertex(map);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value="删除边")
|
|
|
+ @PostMapping(value = "/delMapEdge")
|
|
|
+ public RESTfulResult delMapEdge(@RequestBody Map<String,Object> map){
|
|
|
+ if(map==null){
|
|
|
+ map=new HashMap<>();
|
|
|
+ }
|
|
|
+ return otmsFeign.delMapEdge(map);
|
|
|
+ }
|
|
|
+
|
|
|
//在途订单列表
|
|
|
@PostMapping("/transportationPerformance")
|
|
|
public RESTfulResult transportationPerformance(@RequestBody(required = false) Map<String,Object> mapValue,
|