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,