Uat_Study^2
parent
3d656dfa17
commit
138a967283
|
@ -1162,7 +1162,13 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
||||||
/// 是否是第一次转化的任务
|
/// 是否是第一次转化的任务
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsFirstChangeTask { get; set; } = false;
|
public bool IsFirstChangeTask { get; set; } = false;
|
||||||
}
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否存在临床数据
|
||||||
|
/// </summary>
|
||||||
|
public bool IsExistsClinicalData { get; set; } = false;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public class GetVisitReadingQuestionOutDto
|
public class GetVisitReadingQuestionOutDto
|
||||||
{
|
{
|
||||||
|
|
|
@ -539,7 +539,21 @@ namespace IRaCIS.Application.Services
|
||||||
}).ToListAsync();
|
}).ToListAsync();
|
||||||
|
|
||||||
|
|
||||||
if (!taskInfo.TrialReadingCriterion.IsReadingTaskViewInOrder)
|
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();
|
result = result.Where(x => x.VisitTaskId == inDto.VisitTaskId).ToList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue