Uat_Study
parent
a8f6b5439a
commit
67069b1511
|
@ -113,7 +113,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
|
||||
var criterionId = visitTaskInfo.TrialReadingCriterionId;
|
||||
var questionList = await _readingQuestionTrialRepository.Where(x => x.ReadingQuestionCriterionTrialId == criterionId)
|
||||
.Where(x => x.LesionType != LesionType.BaselineLesions)
|
||||
//.Where(x => x.LesionType != LesionType.BaselineLesions)
|
||||
.Where(x=>x.QuestionType!=QuestionType.TherapeuticEffectEvaluationGroup)
|
||||
.ToListAsync();
|
||||
|
||||
// 新病灶
|
||||
|
@ -627,7 +628,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
/// <returns></returns>
|
||||
public async Task<int> GetBaseLineLesionsCount(ReadingCalculateDto inDto)
|
||||
{
|
||||
return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.BaselineLesions).SelectMany(x => x.TableRowInfoList).Count();
|
||||
return inDto.QuestionInfo.Where(x => x.LesionType == LesionType.BaselineLesions).SelectMany(x => x.TableRowInfoList)
|
||||
.Where(x => x.TableQuestionList.Any(y => y.QuestionMark == QuestionMark.State && y.Answer == EvaluationOfState.Exists.GetEnumInt())).Count();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in New Issue