IRC_NewDev
parent
ae2a3ba8a3
commit
c271537878
|
@ -1663,7 +1663,7 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
|||
var baseLineSpleenLength = await GetBaseLineSpleenLength(inDto);
|
||||
|
||||
var presentSpleenLength = inDto.QuestionInfo.Where(x => x.QuestionType == QuestionType.SpleenLength).Select(x => x.Answer).FirstOrDefault().IsNullOrEmptyReturn0();
|
||||
if (baseLineSpleenLength - 130 > 0)
|
||||
if (baseLineSpleenLength - 130 > 0&& presentSpleenLength>130)
|
||||
{
|
||||
return ReserveDecimal((presentSpleenLength - 130 - (baseLineSpleenLength - 130))*100 / (baseLineSpleenLength - 130), inDto.DigitPlaces);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue