|
@@ -1,6 +1,12 @@
|
|
|
package com.ruoyi.xuankuang.controller.test;
|
|
|
|
|
|
+import com.ruoyi.ams.xuankuang.domain.form.OutTaskForm;
|
|
|
+import com.ruoyi.ams.xuankuang.domain.vo.WcsResponseVo;
|
|
|
+import com.ruoyi.ams.xuankuang.service.XuanKuangTaskApiService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -9,5 +15,20 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RequestMapping("/test/wcs")
|
|
|
public class XuanKuangTestApiController {
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private XuanKuangTaskApiService xuanKuangTaskApiService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * wms出库任务下发接口
|
|
|
+ *
|
|
|
+ * @param outTaskForm
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @ApiOperation("wms出库任务下发接口")
|
|
|
+ @PostMapping("/wmsOutTask")
|
|
|
+ public WcsResponseVo wmsOutTask(OutTaskForm outTaskForm) {
|
|
|
+ return xuanKuangTaskApiService.wmsOutTask(outTaskForm);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|