Commit a6972f82 by jiawei.su

fixedbug

parent e565bb4a
...@@ -649,7 +649,7 @@ namespace Siger.ApiACC.Controllers ...@@ -649,7 +649,7 @@ namespace Siger.ApiACC.Controllers
} }
} }
var tasklst = _automationTaskList.GetList(f => f.sectionid == unloading.section && f.action == action && f.status!=(int)TaskResultStatus.Complated); var tasklst = _automationTaskList.GetList(f => f.sectionid == toSection && f.action == action && f.status!=(int)TaskResultStatus.Complated);
if (tasklst.Any()) if (tasklst.Any())
{ {
throw new BadRequestException(AccEnum.TaskProcessing); throw new BadRequestException(AccEnum.TaskProcessing);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment