luobang před 2 roky
rodič
revize
d2416fca1f

+ 15 - 0
src/main/java/com/steerinfo/dil/controller/platformWarehouseController.java

@@ -11,6 +11,7 @@ import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
+import java.util.List;
 import java.util.Map;
 
 /**
@@ -62,5 +63,19 @@ public class platformWarehouseController extends BaseRESTfulController {
         return success(i);
     }
 
+    @ApiOperation("批量保存事后出库")
+    @PostMapping("listAfterInwardOutbound")
+    public RESTfulResult listAfterInwardOutbound(@RequestBody List<Map<String,Object>>mapList){
+        int i=0;
+        try {
+            for(Map<String,Object>map:mapList){
+                i += platformWarehouseService.afterInwardOutbound(map);
+            }
+        } catch (Exception e) {
+            return failed(e.getMessage());
+        }
+        return success(i);
+    }
+
 
 }

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

@@ -26,4 +26,4 @@ piction:
   #path: C:\Users\24390\Desktop\work\a
    path: /shared
 server:
-  port: 8095
+  port: 8093