Uat_Study
parent
9d1395e796
commit
8c5461aa74
|
@ -733,11 +733,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
public async Task<string> GetIsLymphTarget(ReadingCalculateDto inDto)
|
||||
{
|
||||
var result = IsLymph.No.GetEnumInt();
|
||||
var tableQuestion = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.NonTargetLesions).SelectMany(x => x.TableRowInfoList).ToList();
|
||||
var tableQuestion = inDto.QuestionInfo.Where(x => x.LesionType == LesionType.TargetLesion).SelectMany(x => x.TableRowInfoList).ToList();
|
||||
|
||||
foreach (var item in tableQuestion)
|
||||
{
|
||||
if (item.TableQuestionList.Any(x => x.QuestionMark == QuestionMark.IsLymph && x.Answer.EqEnum(IsLymph.Yes)))
|
||||
if (item.TableQuestionList.Any(x => x.QuestionMark == QuestionMark.IsLymph && x.Answer.EqEnum(IsLymph.No)))
|
||||
{
|
||||
result = IsLymph.Yes.GetEnumInt();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue