From 01f339cb41d4bef0b9841d22307b556047c2774b Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 22 Apr 2026 14:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=98=A0=E5=B0=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs | 4 ++-- IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs index b0da579f7..aa5680891 100644 --- a/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs +++ b/IRaCIS.Core.Application/Service/ImageAndDoc/DTO/UnionStudyViewDodel.cs @@ -196,7 +196,7 @@ namespace IRaCIS.Core.Application.Contracts public class EditPatientInfoCommand { - public Guid StudyId { get; set; } + public Guid Id { get; set; } /// /// 性别 /// @@ -236,7 +236,7 @@ namespace IRaCIS.Core.Application.Contracts public class PatientInfoDto { - public Guid StudyId { get; set; } + public Guid Id { get; set; } /// /// 性别 diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs index d003bd97f..812dfc2bd 100644 --- a/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs +++ b/IRaCIS.Core.Application/Service/ImageAndDoc/StudyService.cs @@ -198,7 +198,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc [HttpPost] public async Task EditPatientInfo(EditPatientInfoCommand command) { - await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.StudyId, x => new DicomStudy + await _dicomStudyRepository.UpdatePartialFromQueryAsync(command.Id, x => new DicomStudy { PatientSex = command.PatientSex, PatientWeight = command.PatientWeight,