Uat_Study
he 2022-08-02 17:44:52 +08:00
parent 258b4ee27a
commit 6a5ade33ae
1 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,7 @@ using IRaCIS.Core.Infrastructure;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using IRaCIS.Core.Application.Auth; using IRaCIS.Core.Application.Auth;
using Panda.DynamicWebApi.Attributes; using Panda.DynamicWebApi.Attributes;
using IRaCIS.Core.Infra.EFCore.Common;
namespace IRaCIS.Core.Application namespace IRaCIS.Core.Application
{ {
@ -109,6 +110,9 @@ namespace IRaCIS.Core.Application
public async Task<GetTrialReadingInfoOutDto> GetTrialReadingInfo(GetTrialReadingInfoInDto inDto) public async Task<GetTrialReadingInfoOutDto> GetTrialReadingInfo(GetTrialReadingInfoInDto inDto)
{ {
GetTrialReadingInfoOutDto trialInfo= await _trialRepository.Where(x=>x.Id==inDto.TrialId).ProjectTo<GetTrialReadingInfoOutDto>(_mapper.ConfigurationProvider).FirstNotNullAsync(); GetTrialReadingInfoOutDto trialInfo= await _trialRepository.Where(x=>x.Id==inDto.TrialId).ProjectTo<GetTrialReadingInfoOutDto>(_mapper.ConfigurationProvider).FirstNotNullAsync();
return trialInfo; return trialInfo;
} }
@ -130,7 +134,7 @@ namespace IRaCIS.Core.Application
return new GetOncologySetOutDto return new GetOncologySetOutDto
{ {
EvaluationReason = trialCriterion.EvaluationReason, EvaluationReason = trialCriterion.EvaluationReason.IsNullOrEmpty()? "肿瘤学阅片评估原因请依据临床数据填写,在与影像学结果不一致时必填。": trialCriterion.EvaluationReason,
EvaluationResult= trialCriterion.EvaluationResult, EvaluationResult= trialCriterion.EvaluationResult,
IsSign = signTime != null, IsSign = signTime != null,
}; };