From 3cb0ed4cd550829af3f0b89b5ccff7c1ec4ece72 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 3 Sep 2025 11:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BA=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ReadingCalculate/General/GeneralCalculateService.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs b/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs index 7ba0356f9..bb55878e8 100644 --- a/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs +++ b/IRaCIS.Core.Application/Service/ReadingCalculate/General/GeneralCalculateService.cs @@ -778,9 +778,12 @@ namespace IRaCIS.Core.Application.Service.ReadingCalculate savePath = savePath + "/" + strArry[strArry.Length - 1]; } + Console.WriteLine($"savePath:{savePath}"); + var directory = Path.GetDirectoryName(savePath); if (!string.IsNullOrEmpty(directory) && !Directory.Exists(directory)) { + Console.WriteLine($"CreateDirectory:{directory}"); Directory.CreateDirectory(directory); }