|
@@ -7,8 +7,8 @@ import org.springframework.http.MediaType;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
-import java.util.HashMap;
|
|
|
|
-import java.util.Map;
|
|
|
|
|
|
+import java.util.*;
|
|
|
|
+
|
|
@FeignClient(value = "DAL-OTMS-API-DEV", url = "${openfeign.OTMSFeign.url}")
|
|
@FeignClient(value = "DAL-OTMS-API-DEV", url = "${openfeign.OTMSFeign.url}")
|
|
public interface OtmsFeign {
|
|
public interface OtmsFeign {
|
|
//在途订单列表
|
|
//在途订单列表
|
|
@@ -115,10 +115,20 @@ public interface OtmsFeign {
|
|
@GetMapping("/api/v1/otms/pathDisplay/getCurrentLocation")
|
|
@GetMapping("/api/v1/otms/pathDisplay/getCurrentLocation")
|
|
public RESTfulResult getCurrentLocation(@RequestParam("capcityNumber") String capcityNumber) throws Exception;
|
|
public RESTfulResult getCurrentLocation(@RequestParam("capcityNumber") String capcityNumber) throws Exception;
|
|
|
|
|
|
|
|
+ //获取地图顶点
|
|
|
|
+ @GetMapping(value = "/api/v1/otms/mapvertexs/findAllAvailableVertex")
|
|
|
|
+ public RESTfulResult findAllAvailableVertex();
|
|
|
|
+
|
|
|
|
+ //获取最佳路径
|
|
|
|
+ @GetMapping(value = "/api/v1/otms/mapvertexs/getObtainTheOptimalPath")
|
|
|
|
+ public RESTfulResult getObtainTheOptimalPath(@RequestParam("startPoint") String startPoint,@RequestParam("endPoint") String endPoint) throws Exception;
|
|
|
|
+
|
|
@PostMapping("/api/v1/otms/pathDisplay/offLineWarn")
|
|
@PostMapping("/api/v1/otms/pathDisplay/offLineWarn")
|
|
public String offLineWarn(@RequestParam(value = "data") String data) throws Exception;
|
|
public String offLineWarn(@RequestParam(value = "data") String data) throws Exception;
|
|
|
|
+
|
|
@PostMapping("/api/v1/otms/pathDisplay/parkWarn")
|
|
@PostMapping("/api/v1/otms/pathDisplay/parkWarn")
|
|
public String parkWarn(@RequestParam(value = "data",required = false) String data) throws Exception;
|
|
public String parkWarn(@RequestParam(value = "data",required = false) String data) throws Exception;
|
|
|
|
+
|
|
@PostMapping("/api/v1/otms/pathDisplay/abnormalLineWarn")
|
|
@PostMapping("/api/v1/otms/pathDisplay/abnormalLineWarn")
|
|
public String abnormalLineWarn(@RequestParam(value = "data") String data) throws Exception;
|
|
public String abnormalLineWarn(@RequestParam(value = "data") String data) throws Exception;
|
|
}
|
|
}
|