设置分析任务类别
This commit is contained in:
@@ -122,7 +122,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
{
|
||||
TrialId = filterObj.TrialId,
|
||||
|
||||
ReadingCategory = ReadingCategory.Consistent,
|
||||
ReadingCategory = ReadingCategory.SelfConsistent,
|
||||
|
||||
//产生的过滤掉已经生成的
|
||||
GenerataConsistentTaskList = subject.VisitTaskList.Where(t => t.IsHaveGeneratedTask == false).ToList()
|
||||
|
||||
@@ -355,7 +355,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
//}
|
||||
|
||||
break;
|
||||
case ReadingCategory.Consistent:
|
||||
case ReadingCategory.SelfConsistent:
|
||||
case ReadingCategory.GroupConsistent:
|
||||
|
||||
foreach (var task in generateTaskCommand.GenerataConsistentTaskList)
|
||||
{
|
||||
@@ -380,7 +381,9 @@ namespace IRaCIS.Core.Application.Service
|
||||
TaskAllocationState = TaskAllocationState.Allocated,
|
||||
AllocateTime = DateTime.Now,
|
||||
|
||||
ConsistentAnalysisOriginalTaskId=task.Id
|
||||
ConsistentAnalysisOriginalTaskId=task.Id,
|
||||
|
||||
IsSelfAnalysis= generateTaskCommand.ReadingCategory==ReadingCategory.SelfConsistent,
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user