Sfoglia il codice sorgente

修改位置作业

zx 2 anni fa
parent
commit
bcfcac9162

+ 4 - 2
src/main/java/com/steerinfo/dil/controller/TMSController.java

@@ -165,11 +165,13 @@ public class TMSController extends BaseRESTfulController {
      */
     @PostMapping("getShipLocationList")
     @ApiOperation(value = "展示位置作业")
-    public Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue) {
+    public Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue,
+                                                   String con
+                                                   ) {
         if (mapValue == null) {
             mapValue = new HashMap<>();
         }
-        return tmsshipFeign.getShipLocationList(mapValue==null?new HashMap<>():mapValue);
+        return tmsshipFeign.getShipLocationList(mapValue==null?new HashMap<>():mapValue,con);
     }
 
     @PostMapping("getShipLocation/{locationId}")

+ 3 - 1
src/main/java/com/steerinfo/dil/feign/TmsshipFeign.java

@@ -177,7 +177,9 @@ public interface TmsshipFeign {
                                             @RequestParam String con);
 
     @PostMapping(value = "/api/v1/shipTms/tmsshipshiplocations/getShipLocationList")
-    Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue);
+    Map<String, Object> getShipLocationList(@RequestBody(required = false) Map<String, Object> mapValue,
+                                            @RequestParam String con
+                                            );
 
 
     /**

+ 1 - 1
src/main/resources/application-prod.yml

@@ -25,7 +25,7 @@ openfeign:
   TmsTruckFeign:
     url: ${TMSTRUCKFEIGN_URL:172.16.33.166:8088}
   TmsshipFeign:
-    url: ${TMSSHIPFEIGN_URL:172.16.33.161:8090}
+    url: ${TMSSHIPFEIGN_URL:172.16.33.166:8090}
   WMSHFeign:
     url: ${WMSHFEIGN_URL:172.16.33.166:8070}
   WMSFeign: