当前任务为已完状态成,无法取消,暂存

dev
zhangxiaofeng 4 weeks ago
parent ef6d2e0fa8
commit 634aa5c9cf

@ -3673,6 +3673,13 @@ namespace DS.WMS.Core.TaskPlat.Method
}
else if (taskOperTypeEnum == TaskOperTypeEnum.CANCEL_TASK)
{
//if (model.STATUS == TaskStatusEnum.Complete.ToString())
//{
// result.succ = false;
// result.msg = "当前任务为已完状态成,无法取消";
// return result;
//}
if (model.TASK_TYPE == TaskBaseTypeEnum.CHANGE_SHIP.ToString())
{
model.STATUS = TaskStatusEnum.Cancel.ToString();

Loading…
Cancel
Save