diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs index b45106a0f..fbf4762dc 100644 --- a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs +++ b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs @@ -254,6 +254,28 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc return ResponseOutput.Ok(); } + /// + /// 修正患者基本信息 + /// + /// + /// + [HttpPost] + public async Task AmendmentPatientInfo(EditPatientInfoCommand command) + { + await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.Id, x => new DicomStudy + { + PatientSex = command.PatientSex, + PatientWeight = command.PatientWeight, + RadionuclideTotalDose = command.RadionuclideTotalDose, + RadionuclideHalfLife = command.RadionuclideHalfLife, + RadiopharmaceuticalStartTime = command.RadiopharmaceuticalStartTime, + AcquisitionTime = command.AcquisitionTime, + }); + await _dicomStudyRepository.SaveChangesAsync(); + + return ResponseOutput.Ok(); + } + [TrialGlobalLimit("AfterStopCannNotOpt")]