Uat_Study
he 2022-10-18 10:12:11 +08:00
parent 9d1395e796
commit 8c5461aa74
1 changed files with 2 additions and 2 deletions

View File

@ -733,11 +733,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
public async Task<string> GetIsLymphTarget(ReadingCalculateDto inDto) public async Task<string> GetIsLymphTarget(ReadingCalculateDto inDto)
{ {
var result = IsLymph.No.GetEnumInt(); 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) 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(); result = IsLymph.Yes.GetEnumInt();
} }