瀏覽代碼

2.21出库

zhouzh 3 年之前
父節點
當前提交
f944ad7f05

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

@@ -962,5 +962,21 @@ public class WMSController extends BaseRESTfulController {
     public int changeReserved(@RequestBody(required = false) List<Map<String, Object>> mapList) {
         return wmsFeign.changeReserved(mapList);
     }
+
+    @PostMapping("/getWmsOutboundResultStatistics")
+    @ApiOperation(value = "展示炉号对应的出厂数量")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "apiId", value = "446", required = false, dataType = "BigDecimal"),
+    })
+    public RESTfulResult getWmsOutboundResultStatistics(Map<String, Object> mapValue,
+                                        Integer apiId,
+                                        Integer pageNum,
+                                        Integer pageSize,
+                                        Integer warehouseId,
+                                        String con,
+                                        String startTime,
+                                        String endTime) {
+        return wmsFeign.getWmsOutboundResultStatistics(mapValue ==null? new HashMap<>():mapValue, apiId, pageNum, pageSize,warehouseId,con,startTime,endTime);
+    }
 }
 

+ 12 - 0
src/main/java/com/steerinfo/dil/feign/WMSFeign.java

@@ -826,4 +826,16 @@ public interface WMSFeign {
 
     @PostMapping("/api/v1/wms/inboundResult/changeReserved")
     int changeReserved(@RequestBody(required = false) List<Map<String, Object>> mapList);
+
+    //出库炉号对应的数量
+    @PostMapping("/api/v1/wms/wmspoutboundresults/getWmsOutboundResultStatistics")
+    RESTfulResult getWmsOutboundResultStatistics(@RequestBody(required = false) Map<String, Object> mapValue,
+                                 @RequestParam Integer apiId,
+                                 @RequestParam Integer pageNum,
+                                 @RequestParam Integer pageSize,
+                                 @RequestParam Integer warehouseId,
+                                 @RequestParam String con,
+                                 @RequestParam String startTime,
+                                 @RequestParam String endTime);
+
 }

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

@@ -29,7 +29,7 @@ openfeign:
   WMSHFeign:
     url: ${WMSHFEIGN_URL:172.16.33.166:8070}
   WMSFeign:
-    url: ${WMSFEIGN_URL:172.16.33.166:8093}
+    url: ${WMSFEIGN_URL:localhost:8093}
   OMSFeign:
     url: ${OMSFEIGN_URL:172.16.33.166:8095}
   RmsFeign:

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -1,7 +1,7 @@
 api.version: api/v1
 spring:
   profiles:
-    include: ${SPRING_PROFILES:dev}
+    include: ${SPRING_PROFILES:prod}
   jackson:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8