Browse Source

修改港口出库

zx 2 years ago
parent
commit
5ca956dfa3

+ 3 - 0
src/main/java/com/steerinfo/dil/controller/WMSController.java

@@ -1022,5 +1022,8 @@ public class WMSController extends BaseRESTfulController {
     public Map<String, Object> undoInbound(@RequestParam("inboundId") BigDecimal inboundId){
         return wmsFeign.undoInbound(inboundId);
     }
+
+
+
 }
 

+ 14 - 0
src/main/java/com/steerinfo/dil/controller/WMSHController.java

@@ -68,6 +68,20 @@ public class WMSHController extends BaseRESTfulController {
     }
 
 
+    @PostMapping("getUnLockPortStock")
+    @ApiOperation(value = "展示下游港口港存库库存列表")
+    public RESTfulResult getUnLockPortStock(@RequestBody(required = false) Map<String, Object> mapValue,
+                                                  Integer pageNum,
+                                                  Integer pageSize,
+                                                  Integer apiId,
+                                                  String con) {
+        if (mapValue == null) {
+            mapValue = new HashMap<>();
+        }
+        return wmshFeign.getUnLockPortStock(mapValue, pageNum, pageSize, apiId,con);
+    }
+
+
     /**
      * 展示万州港港存库库存列表
      *

+ 7 - 0
src/main/java/com/steerinfo/dil/feign/WMSHFeign.java

@@ -134,4 +134,11 @@ public interface WMSHFeign {
                                                  @RequestParam("pageSize") Integer pageSize,
                                                  @RequestParam("apiId") Integer apiId,
                                                  @RequestParam("con")String con);
+
+    @PostMapping(value = "/api/v1/wmsh/wmshgridmaterials/getUnLockPortStock")
+    RESTfulResult getUnLockPortStock(@RequestBody(required = false) Map<String, Object> mapValue,
+                                          @RequestParam("pageNum") Integer pageNum,
+                                          @RequestParam("pageSize") Integer pageSize,
+                                          @RequestParam("apiId") Integer apiId,
+                                          @RequestParam("con") String con);
 }

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

@@ -27,7 +27,7 @@ openfeign:
   TmsshipFeign:
     url: ${TMSSHIPFEIGN_URL:172.16.33.166:8090}
   WMSHFeign:
-    url: ${WMSHFEIGN_URL:172.16.33.166:8070}
+    url: ${WMSHFEIGN_URL:localhost:8070}
   WMSFeign:
     url: ${WMSFEIGN_URL:172.16.33.166:8093}
   OMSFeign: