From fd8ad8e759d3304588de2454fa28416d854aef01 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 19 May 2022 17:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95NoneDicom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/QC/NoneDicomStudyService.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs index f8be502c..aa929b10 100644 --- a/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs +++ b/IRaCIS.Core.Application/Service/QC/NoneDicomStudyService.cs @@ -217,9 +217,12 @@ namespace IRaCIS.Core.Application.Contracts { var rootPath = Directory.GetParent(_hostEnvironment.ContentRootPath.TrimEnd('\\')).IfNullThrowException().FullName; - _logger.LogError(rootPath); - var _fileStorePath = Path.Combine(rootPath, relativePath.Replace('/', '\\')); + var _fileStorePath = Path.Combine(rootPath, relativePath.Replace('/', '\\').Trim('\\')); + + //_logger.LogError(rootPath); + + //_logger.LogError(_fileStorePath); var storePreviewPath = _fileStorePath + ".preview.jpeg";