|
@@ -386,6 +386,10 @@ public class WcsTaskServiceImpl implements IWcsTaskService {
|
|
|
return AjaxResult.error("不能重复放货," + taskNo);
|
|
|
}
|
|
|
if (wcsTask.getState() == 6) {
|
|
|
+ // 修改任务状态
|
|
|
+ wcsTask.setState(state.longValue());
|
|
|
+ wcsTask.setUpdateDate(new Date());
|
|
|
+ wcsTaskService.updateWcsTask(wcsTask);
|
|
|
return AjaxResult.error("不能重复放货," + taskNo);
|
|
|
}
|
|
|
wcsTask.setEndTime(new Date());
|