修改任务开始条件
This commit is contained in:
@@ -36,6 +36,18 @@ public class ToWmsApiController {
|
||||
return ajaxResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 接收开始信号
|
||||
*/
|
||||
@PostMapping("/startSignal")
|
||||
public AjaxResult startSignal(@RequestBody MydoJob mydoJob) {
|
||||
AjaxResult ajaxResult = toWmsService.startSignal(mydoJob);
|
||||
RequestLog requestLog = requestLogService.getRequestLog(JSONUtil.toJsonStr(mydoJob), "startSignal");
|
||||
requestLog.setResponseBody(Convert.toStr(ajaxResult.get("msg")));
|
||||
requestLogService.insertRequestLog(requestLog);
|
||||
return ajaxResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* 入库、出库 任务完成回传
|
||||
* Map<String, String>
|
||||
|
||||
Reference in New Issue
Block a user