From 9c3e72b1bbc8f3b7c32ab3a9dfd2e176dc1980bc Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 23 Dec 2025 10:16:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E4=B8=8B=E8=BD=BD=E4=BD=BF?= =?UTF-8?q?=E7=94=A8get=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.API/Controllers/UploadDownLoadController.cs | 5 +++-- .../Service/Visit/DTO/PatientViewModel.cs | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs b/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs index cc755a617..77987a8ca 100644 --- a/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs +++ b/IRaCIS.Core.API/Controllers/UploadDownLoadController.cs @@ -894,11 +894,12 @@ namespace IRaCIS.Core.API.Controllers #endregion - [HttpPost("download/PatientStudyBatchDownload")] + [HttpGet("download/PatientStudyBatchDownload")] public async Task DownloadPatientStudyBatch([FromServices] IPatientService _patientService, [FromServices] IOSSService _oSSService, [FromServices] IHubContext _downLoadHub, - PatientImageDownloadCommand inCommand) + [FromQuery] PatientImageDownloadCommand inCommand) { + inCommand.SCPStudyIdList = inCommand.SCPStudyIdList.Where(t => t != Guid.Empty).ToList(); var rusult = await _patientService.GetDownloadPatientStudyInfo(inCommand); var patientList = rusult.Data; diff --git a/IRaCIS.Core.Application/Service/Visit/DTO/PatientViewModel.cs b/IRaCIS.Core.Application/Service/Visit/DTO/PatientViewModel.cs index ed0661f3f..e9c0eb951 100644 --- a/IRaCIS.Core.Application/Service/Visit/DTO/PatientViewModel.cs +++ b/IRaCIS.Core.Application/Service/Visit/DTO/PatientViewModel.cs @@ -984,9 +984,9 @@ namespace IRaCIS.Application.Contracts public class PatientImageDownloadCommand { - public List PatientIdList { get; set; } + public List PatientIdList { get; set; } = new List(); - public List SCPStudyIdList { get; set; } + public List SCPStudyIdList { get; set; } = new List(); [NotDefault] public string CurrentNoticeId { get; set; }