From 0f495a456841ae23cb244b09dd73aa2df0982b05 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 11 Sep 2024 16:21:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E6=8F=90=E4=BA=A4=E4=BA=8B?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/ImageAndDoc/DownloadAndUploadService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs b/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs index 32e86766d..890a2c9bc 100644 --- a/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs +++ b/IRaCIS.Core.Application/Service/ImageAndDoc/DownloadAndUploadService.cs @@ -745,7 +745,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc ImageSize = result.StudyList.Sum(t => t.SeriesList.Sum(s => s.InstanceList.Sum(i => i.FileSize))) + result.NoneDicomStudyList.Sum(t => t.FileList.Sum(s => s.FileSize)) ?? 0 }; - + await _trialImageDownloadRepository.AddAsync(preDownloadInfo, true); return ResponseOutput.Ok(result, preDownloadInfo.Id); } @@ -925,7 +925,7 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc ) ?? 0 }; - await _trialImageDownloadRepository.AddAsync(preDownloadInfo); + await _trialImageDownloadRepository.AddAsync(preDownloadInfo,true); return ResponseOutput.Ok(result, preDownloadInfo.Id); }