IRC_NewDev
parent
87fbd2cb59
commit
a2b1a0d64b
|
@ -83,7 +83,8 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
public async Task<object> GetReadingCalculationData(GetReadingCalculationDataInDto inDto)
|
public async Task<object> GetReadingCalculationData(GetReadingCalculationDataInDto inDto)
|
||||||
{
|
{
|
||||||
ReadingCalculateDto readingData = await _generalCalculateService.GetReadingCalculateDto(inDto.VisitTaskId);
|
ReadingCalculateDto readingData = await _generalCalculateService.GetReadingCalculateDto(inDto.VisitTaskId);
|
||||||
var baseLinePET5PS = 0m;
|
readingData.ComputationTrigger = ComputationTrigger.LiverBloodPool;
|
||||||
|
var baseLinePET5PS = 0m;
|
||||||
if (!readingData.IsBaseLine)
|
if (!readingData.IsBaseLine)
|
||||||
{
|
{
|
||||||
var baseLineTaskId = await GetBaseLineTaskId(readingData);
|
var baseLineTaskId = await GetBaseLineTaskId(readingData);
|
||||||
|
@ -93,8 +94,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
return new
|
return new
|
||||||
{
|
{
|
||||||
BaseLinePET5PS = baseLinePET5PS,
|
BaseLinePET5PS = baseLinePET5PS,
|
||||||
|
//计算的5ps评分
|
||||||
|
CalculatePET5PS=await GetPET5PS(readingData),
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#region 临时对象 单个请求的生命周期 避免重复查询数据库
|
#region 临时对象 单个请求的生命周期 避免重复查询数据库
|
||||||
|
@ -2404,7 +2407,10 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate
|
||||||
LowSpleenLength = lowSpleenLength,
|
LowSpleenLength = lowSpleenLength,
|
||||||
// 基线状态
|
// 基线状态
|
||||||
BaseLineState = baseLineState,
|
BaseLineState = baseLineState,
|
||||||
};
|
|
||||||
|
// 脾脏状态
|
||||||
|
SplenicStatus = await GetSplenicStatus(inDto),
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue