设置分析任务类别

Uat_Study
hang 2022-07-07 16:13:34 +08:00
parent 47679e55f8
commit e9e87a4c9f
3 changed files with 9 additions and 4 deletions

View File

@ -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()

View File

@ -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,
};

View File

@ -27,7 +27,9 @@ namespace IRaCIS.Core.Domain.Share
ReReading = 6,
Consistent = 7,
SelfConsistent = 7,
GroupConsistent = 8,
}
public enum TaskAllocationState