|
@@ -0,0 +1,34 @@
|
|
|
+package com.ruoyi.web.controller.warewms.test;
|
|
|
+
|
|
|
+import com.ruoyi.ams.task.service.IWcsTaskService;
|
|
|
+import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
+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;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author JWK
|
|
|
+ * @version 1.0
|
|
|
+ * @date 2022/11/14 14:52
|
|
|
+ */
|
|
|
+@Api("WcsTask任务反馈")
|
|
|
+@RestController
|
|
|
+@RequestMapping("/api/wcstask")
|
|
|
+public class WcsTaskResponseController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IWcsTaskService iWcsTaskService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * WcsTask任务反馈
|
|
|
+ */
|
|
|
+ @ApiOperation("WcsTask任务反馈")
|
|
|
+ @PostMapping("/responseState")
|
|
|
+ public AjaxResult responseState(String taskNo, Integer state, Integer carNo) {
|
|
|
+ iWcsTaskService.callBack(taskNo, state, carNo);
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+}
|