|
@@ -119,8 +119,7 @@ public class WcsTaskController extends BaseController {
|
|
if (StringUtils.isNotEmpty(wcsTask.getAgvNo())) {
|
|
if (StringUtils.isNotEmpty(wcsTask.getAgvNo())) {
|
|
agvNo = Integer.parseInt(wcsTask.getAgvNo());
|
|
agvNo = Integer.parseInt(wcsTask.getAgvNo());
|
|
}
|
|
}
|
|
- AjaxResult ajaxResult = wcsTaskService.callBack(wcsTask.getTaskNo(), 4, agvNo);
|
|
|
|
- return AjaxResult.error(ajaxResult.getMsg());
|
|
|
|
|
|
+ return wcsTaskService.callBack(wcsTask.getTaskNo(), 4, agvNo);
|
|
}
|
|
}
|
|
|
|
|
|
@Log(title = "卸货任务完成", businessType = BusinessType.INSERT)
|
|
@Log(title = "卸货任务完成", businessType = BusinessType.INSERT)
|
|
@@ -134,8 +133,7 @@ public class WcsTaskController extends BaseController {
|
|
if (StringUtils.isNotEmpty(wcsTask.getAgvNo())) {
|
|
if (StringUtils.isNotEmpty(wcsTask.getAgvNo())) {
|
|
agvNo = Integer.parseInt(wcsTask.getAgvNo());
|
|
agvNo = Integer.parseInt(wcsTask.getAgvNo());
|
|
}
|
|
}
|
|
- AjaxResult ajaxResult = wcsTaskService.callBack(wcsTask.getTaskNo(),2,agvNo);
|
|
|
|
- return AjaxResult.error(ajaxResult.getMsg());
|
|
|
|
|
|
+ return wcsTaskService.callBack(wcsTask.getTaskNo(), 4, agvNo);
|
|
}
|
|
}
|
|
|
|
|
|
@Log(title = "任务取消", businessType = BusinessType.INSERT)
|
|
@Log(title = "任务取消", businessType = BusinessType.INSERT)
|