From 3a918f1aa55ea89b9de54820d19c646c88c92929 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 29 Apr 2026 10:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BF=AE=E6=AD=A3=E6=82=A3?= =?UTF-8?q?=E8=80=85=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/ImageAndDoc/StudyService.cs | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) 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")]