修改计算

Test_IRC_Net8
he 2025-12-23 09:26:47 +08:00
parent 4a02ae2e98
commit 03b7f00bcd
2 changed files with 10 additions and 1 deletions

View File

@ -2021,6 +2021,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
{
return "NA";
}
var presentSpd = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.SpleenLength).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturnNull();
if (presentSpd == null)
{
return string.Empty;
}
var lowSplenoncus = taskAnswer.Where(x=>x.SpleenLength!=0).OrderBy(x => x.SpleenLength).FirstOrDefault();
if (lowSplenoncus != null)

View File

@ -2019,7 +2019,11 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
{
return "NA";
}
var presentSpd = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.SpleenLength).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturnNull();
if (presentSpd == null)
{
return string.Empty;
}
var lowSplenoncus = taskAnswer.Where(x => x.SpleenLength != 0).OrderBy(x => x.SpleenLength).FirstOrDefault();
if (lowSplenoncus != null)
{