设置分析任务类别
parent
47679e55f8
commit
e9e87a4c9f
|
@ -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,
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -27,7 +27,9 @@ namespace IRaCIS.Core.Domain.Share
|
|||
|
||||
ReReading = 6,
|
||||
|
||||
Consistent = 7,
|
||||
SelfConsistent = 7,
|
||||
|
||||
GroupConsistent = 8,
|
||||
}
|
||||
|
||||
public enum TaskAllocationState
|
||||
|
|
Loading…
Reference in New Issue