|
@@ -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);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|