Uat_Study
he 2023-05-25 10:59:38 +08:00
commit 2a8f66f360
2 changed files with 17 additions and 1 deletions

View File

@ -275,6 +275,16 @@ namespace IRaCIS.Core.Application.Service.Inspection.DTO
[NotDefault]
public Guid TrialReadingCriterionId { get; set; }
/// <summary>
/// 是否盲化
/// </summary>
public bool? IsBlind { get; set; }
/// <summary>
/// 是否完整
/// </summary>
public bool? IsComplete { get; set; }
}
/// <summary>

View File

@ -285,6 +285,8 @@ namespace IRaCIS.Application.Services
//---当前临床数据状态不是已核查状态,不允许签名!
throw new BusinessValidationFailedException(_localizer["ReadingClinicalData_Unchecked"]);
}
data.IsBlind = inDto.IsBlind;
data.IsComplete=inDto.IsComplete;
data.IsSign = true;
data.ReadingClinicalDataState = ReadingClinicalDataStatus.HaveSigned;
@ -414,7 +416,8 @@ namespace IRaCIS.Application.Services
// 废弃 接口合并到签名哪里
[HttpPut]
public async Task<IResponseOutput> PMClinicalDataConfirm(PMClinicalDataConfirmCommand command)
{
@ -424,9 +427,12 @@ namespace IRaCIS.Application.Services
IsComplete = command.IsComplete,
ReadingClinicalDataState = ReadingClinicalDataStatus.HaveChecked
});
await _readingClinicalDataRepository.SaveChangesAsync();
return ResponseOutput.Ok();
}
#endregion