修改
This commit is contained in:
+11
-4
@@ -848,7 +848,6 @@ namespace IRaCIS.Application.Services
|
||||
var organIds = tableAnsweRowInfos.Where(x => x.OrganInfoId != null).Select(x => x.OrganInfoId).Distinct().ToList();
|
||||
var organList = await _organInfoRepository.Where(x => organIds.Contains(x.Id)).ToListAsync();
|
||||
return (await this.GetReadingTableQuestion(
|
||||
|
||||
new GetReadingTableQuestionOrAnswerInDto()
|
||||
{
|
||||
TrialReadingCriterionId = taskInfo.TrialReadingCriterionId,
|
||||
@@ -921,9 +920,17 @@ namespace IRaCIS.Application.Services
|
||||
}
|
||||
|
||||
|
||||
if (inDto.TaskId != null && !taskInfo.IsConvertedTask)
|
||||
if (inDto.TaskId != null )
|
||||
{
|
||||
qusetionList = qusetionList.Where(x => x.QuestionType != QuestionType.IsConverted).OrderBy(x => x.ShowOrder).ToList();
|
||||
if (taskInfo.IsConvertedTask)
|
||||
{
|
||||
qusetionList = qusetionList.Where(x => x.ConvertShowType == ConvertShowType.All || x.ConvertShowType == ConvertShowType.AfterShow).OrderBy(x => x.ShowOrder).ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
qusetionList = qusetionList.Where(x => x.ConvertShowType == ConvertShowType.All || x.ConvertShowType == ConvertShowType.BeforeShow).OrderBy(x => x.ShowOrder).ToList();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var usedGuropIds = qusetionList.Where(x => x.Type == ReadingQestionType.Table).Select(x => x.GroupId).ToList();
|
||||
@@ -1178,7 +1185,7 @@ namespace IRaCIS.Application.Services
|
||||
});
|
||||
|
||||
|
||||
answers.Add("LesionType", rowInfo.LesionType.ToString());
|
||||
answers.Add("LesionType", rowInfo.LesionType.GetEnumNullInt());
|
||||
answers.Add("BlindName", rowInfo.BlindName);
|
||||
answers.Add("IsFirstChangeTask", isFirstChangeTask.ToString());
|
||||
answers.Add("FromMark", rowInfo.FromMark);
|
||||
|
||||
Reference in New Issue
Block a user