|
@@ -2,7 +2,7 @@ package com.ruoyi.xuankuang.controller.test;
|
|
|
|
|
|
import com.ruoyi.ams.xuankuang.domain.form.*;
|
|
|
import com.ruoyi.ams.xuankuang.domain.vo.WcsResponseVo;
|
|
|
-import com.ruoyi.ams.xuankuang.service.XuanKuangTaskApiService;
|
|
|
+import com.ruoyi.ams.xuankuang.service.WmsToWcsApiService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
public class XuanKuangTestApiController {
|
|
|
|
|
|
@Autowired
|
|
|
- private XuanKuangTaskApiService xuanKuangTaskApiService;
|
|
|
+ private WmsToWcsApiService WmsToWcsApiService;
|
|
|
|
|
|
/**
|
|
|
* wms出库任务下发接口
|
|
@@ -28,7 +28,7 @@ public class XuanKuangTestApiController {
|
|
|
@ApiOperation("wms出库任务下发接口")
|
|
|
@PostMapping("/wmsOutTask")
|
|
|
public WcsResponseVo wmsOutTask(@RequestBody OutTaskForm outTaskForm) {
|
|
|
- return xuanKuangTaskApiService.wmsOutTask(outTaskForm);
|
|
|
+ return WmsToWcsApiService.wmsOutTask(outTaskForm);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -39,7 +39,7 @@ public class XuanKuangTestApiController {
|
|
|
*/
|
|
|
@ApiOperation("wms工单任务下发接口")
|
|
|
@PostMapping("/billTaskForm")
|
|
|
- public WcsResponseVo wmsBillTask(@RequestBody BillTaskForm billTaskForm) {return xuanKuangTaskApiService.wmsBillTask(billTaskForm);}
|
|
|
+ public WcsResponseVo wmsBillTask(@RequestBody BillTaskForm billTaskForm) {return WmsToWcsApiService.wmsBillTask(billTaskForm);}
|
|
|
|
|
|
/**
|
|
|
* wms开启破袋机回调接口
|
|
@@ -49,7 +49,7 @@ public class XuanKuangTestApiController {
|
|
|
*/
|
|
|
@ApiOperation("wms开启破袋机回调接口")
|
|
|
@PostMapping("/callbackBbmForm")
|
|
|
- public WcsResponseVo wmsCallbackBbmTask(@RequestBody CallbackBbmForm callbackBbmForm) {return xuanKuangTaskApiService.wmsCallbackBbmTask(callbackBbmForm);}
|
|
|
+ public WcsResponseVo wmsCallbackBbmTask(@RequestBody CallbackBbmForm callbackBbmForm) {return WmsToWcsApiService.wmsCallbackBbmTask(callbackBbmForm);}
|
|
|
|
|
|
/**
|
|
|
* agv入库任务下发接口
|
|
@@ -59,7 +59,7 @@ public class XuanKuangTestApiController {
|
|
|
*/
|
|
|
@ApiOperation("agv入库任务下发接口")
|
|
|
@PostMapping("/agvInTaskForm")
|
|
|
- public WcsResponseVo wmsAgvInTask(@RequestBody AgvInTaskForm agvInTaskForm) {return xuanKuangTaskApiService.wmsAgvInTask(agvInTaskForm);}
|
|
|
+ public WcsResponseVo wmsAgvInTask(@RequestBody AgvInTaskForm agvInTaskForm) {return WmsToWcsApiService.wmsAgvInTask(agvInTaskForm);}
|
|
|
|
|
|
/**
|
|
|
* agv回调wcs卸货完成
|
|
@@ -69,7 +69,7 @@ public class XuanKuangTestApiController {
|
|
|
*/
|
|
|
@ApiOperation("agv回调wcs卸货完成")
|
|
|
@PostMapping("/agvCallbackIntaskForm")
|
|
|
- public WcsResponseVo wmsAgvCallbackIntask(String taskNo) {return xuanKuangTaskApiService.wmsAgvCallbackIntask(taskNo);}
|
|
|
+ public WcsResponseVo wmsAgvCallbackIntask(String taskNo) {return WmsToWcsApiService.wmsAgvCallbackIntask(taskNo);}
|
|
|
|
|
|
/**
|
|
|
* agv回调wcs货物取走接口
|
|
@@ -79,6 +79,6 @@ public class XuanKuangTestApiController {
|
|
|
*/
|
|
|
@ApiOperation("agv回调wcs货物取走接口")
|
|
|
@PostMapping("/agvCallbackOuttask")
|
|
|
- public WcsResponseVo wmsAgvCallbackOuttask(String wcsId) {return xuanKuangTaskApiService.wmsAgvCallbackOuttask(wcsId);}
|
|
|
+ public WcsResponseVo wmsAgvCallbackOuttask(String wcsId) {return WmsToWcsApiService.wmsAgvCallbackOuttask(wcsId);}
|
|
|
|
|
|
}
|