Uat_Study
hang 2022-07-15 10:05:23 +08:00
parent 7ca2c70108
commit 1a3aa52c6d
2 changed files with 2 additions and 5 deletions

View File

@ -608,10 +608,7 @@ namespace IRaCIS.Core.Application.Service
TaskAllocationState = subjectUser == null ? TaskAllocationState.NotAllocate : TaskAllocationState.Allocated,
AllocateTime = subjectUser == null ? null : DateTime.Now,
BlindTrialSiteCode = firstTask.BlindTrialSiteCode,
BlindSubjectCode = firstTask.BlindSubjectCode,
IsAnalysisCreate = firstTask.IsAnalysisCreate,
IsSelfAnalysis = firstTask.IsSelfAnalysis,
};
await _visitTaskRepository.AddAsync(visitTask);
currentMaxCodeInt = currentMaxCodeInt + 1;

View File

@ -1614,7 +1614,7 @@ namespace IRaCIS.Core.Application.Service
Expression<Func<VisitTask, bool>> filterExpression = t => t.TrialId == trialId && t.SubjectId == filterObj.SubjectId && t.TaskState == TaskState.Effect;
//是否是一致性分析任务
//是否是一致性分析任务 (一致性分析的任务 不会产生裁判 肿瘤学 仅仅有生成的访视和全局)
filterExpression = filterExpression.And(t => t.IsAnalysisCreate == filterObj.IsAnalysisCreate);