luobang 2 lat temu
rodzic
commit
974dd18883

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

@@ -955,6 +955,7 @@ public class WMSController extends BaseRESTfulController {
                                              @RequestParam(value = "remark") String remark) {
         return wmsFeign.insertReserved(warehouseId,materialCode,materialSpecification,materialModel,quantity,actuallyWeight,materialTheWeight,remark);
     }
+
     //修改预留转入库作业,针对预留
     @PostMapping(value = "/insertInbounds")
     public Map<String,Object> insertInbounds(@RequestParam(value = "warehouseId") String warehouseId,
@@ -1094,5 +1095,14 @@ public class WMSController extends BaseRESTfulController {
     public Map<String,Object> listAfterInwardOutbound(@RequestBody List<Map<String,Object>>mapList){
         return wmsFeign.listAfterInwardOutbound(mapList);
     }
+
+    @PostMapping(value = "/deleteInboundMaterial")
+    public Map<String,Object> deleteInboundMaterial(@RequestParam(value = "warehouseId") String warehouseId,
+                                             @RequestParam(value = "materialCode") String materialCode,
+                                             @RequestParam(value = "materialSpecification") String materialSpecification,
+                                             @RequestParam(value = "materialModel") String materialModel,
+                                             @RequestParam(value = "quantity") Integer quantity) {
+        return wmsFeign.deleteInboundMaterial(warehouseId,materialCode,materialSpecification,materialModel,quantity);
+    }
 }
 

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

@@ -917,4 +917,12 @@ public interface WMSFeign {
 
     @PostMapping("/api/v1/wms/platformWarehouse/listAfterInwardOutbound")
     Map<String, Object> listAfterInwardOutbound(@RequestBody List<Map<String, Object>> mapList);
+
+
+    @PostMapping("/api/v1/wms/wmspgridmaterials/deleteInboundMaterial")
+    Map<String, Object> deleteInboundMaterial(@RequestParam("warehouseId") String warehouseId,
+                                              @RequestParam("materialCode") String materialCode,
+                                              @RequestParam("materialSpecification") String materialSpecification,
+                                              @RequestParam("materialModel") String materialModel,
+                                              @RequestParam("quantity") Integer quantity);
 }