|
|
@@ -0,0 +1,25 @@
|
|
|
+package com.uas.eis.controller;
|
|
|
+
|
|
|
+import com.uas.eis.service.StockService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/**
|
|
|
+ * Created by luhg on 2018/4/19.
|
|
|
+ * 出入库相关
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+public class StockController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private StockService stockService;
|
|
|
+
|
|
|
+ @PostMapping(value = "/yunding/stock")
|
|
|
+ public Map<String,Object> postStockToYunding(@RequestParam Integer id){
|
|
|
+ return stockService.postStockToYunding(id);
|
|
|
+ }
|
|
|
+}
|