Compare commits

..

2 Commits

Author SHA1 Message Date
he e113bc9fe1 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is passing Details
2025-12-23 09:26:49 +08:00
he 03b7f00bcd 修改计算 2025-12-23 09:26:47 +08:00
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)
{