lugano 长短经导表修改

Test_IRC_Net8
hang 2025-12-03 16:21:26 +08:00
parent 647aee010a
commit e1632b58ac
1 changed files with 37 additions and 5 deletions

View File

@ -1205,6 +1205,38 @@ public class Tumor_CDISC_ExportService(IRepository<ReadingQuestionCriterionTrial
} }
} }
if (trValueTypeIndex == 0 || trValueTypeIndex == 1)
{
if (lesion.LessionType == LesionType.TargetLesion)
{
//处理消失 空为0mm
if (lessionAnswer.QuestionValue.IsNullOrEmpty() && lesion.LessionAnswerList.FirstOrDefault(t => t.QuestionMark == QuestionMark.State)?.QuestionValue == "3")
{
lessionAnswer.QuestionValue = "0";
}
}
//有值 就展示,没值就不展示
else if (lesion.LessionType == LesionType.NonTargetLesions || lesion.LessionType == LesionType.NewLesions)
{
if (lesion.LessionAnswerList.FirstOrDefault(t => t.QuestionMark == QuestionMark.ShortAxis)?.QuestionValue.IsNotNullOrEmpty() == true
|| lesion.LessionAnswerList.FirstOrDefault(t => t.QuestionMark == QuestionMark.MajorAxis)?.QuestionValue.IsNotNullOrEmpty() == true)
{
}
else
{
trValueTypeIndex = -1;
}
}
else
{
trValueTypeIndex = -1;
}
}
return trValueTypeIndex; return trValueTypeIndex;