Uat_Study^2
parent
3d656dfa17
commit
138a967283
|
@ -1162,6 +1162,12 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
/// 是否是第一次转化的任务
|
||||
/// </summary>
|
||||
public bool IsFirstChangeTask { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 是否存在临床数据
|
||||
/// </summary>
|
||||
public bool IsExistsClinicalData { get; set; } = false;
|
||||
|
||||
}
|
||||
|
||||
public class GetVisitReadingQuestionOutDto
|
||||
|
|
|
@ -539,6 +539,20 @@ namespace IRaCIS.Application.Services
|
|||
}).ToListAsync();
|
||||
|
||||
|
||||
foreach (var item in result)
|
||||
{
|
||||
var clinicalDataList = await _readingClinicalDataService.GetClinicalDataList(new GetReadingOrTaskClinicalDataListInDto()
|
||||
{
|
||||
|
||||
SubjectId = taskInfo.SubjectId,
|
||||
TrialId = taskInfo.TrialId,
|
||||
VisitTaskId = item.VisitTaskId,
|
||||
});
|
||||
|
||||
item.IsExistsClinicalData = clinicalDataList.Count > 0;
|
||||
}
|
||||
|
||||
|
||||
if (!taskInfo.TrialReadingCriterion.IsReadingTaskViewInOrder)
|
||||
{
|
||||
result = result.Where(x => x.VisitTaskId == inDto.VisitTaskId).ToList();
|
||||
|
|
Loading…
Reference in New Issue