huangfuli 4 年 前
コミット
65ee1e1ba3

+ 13 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/controller/WarehouseInOutInfoController.java

@@ -1,6 +1,11 @@
 package com.yh.saas.plugin.yiliangyiyun.controller;
 
 
+import com.yh.saas.plugin.yiliangyiyun.entity.WarehouseInOutInfo;
+import com.yh.saas.plugin.yiliangyiyun.service.IWarehouseInOutInfoService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 
 import org.springframework.web.bind.annotation.RestController;
@@ -17,5 +22,13 @@ import org.springframework.web.bind.annotation.RestController;
 @RequestMapping("/warehouseInOutInfo")
 public class WarehouseInOutInfoController {
 
+    @Autowired
+    private IWarehouseInOutInfoService warehouseInOutInfoService;
+
+    @GetMapping("/InOutWarehouse")
+    public String InOutWarehouse (@RequestBody WarehouseInOutInfo warehouseInOutInfo){
+        return warehouseInOutInfoService.InOutWarehouse(warehouseInOutInfo);
+    }
+
 }