修改生成dir路径
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-01-19 17:58:47 +08:00
parent 2bf47515e7
commit 0ef7fd85d4
6 changed files with 50 additions and 86 deletions
@@ -1,4 +1,5 @@
using FellowOakDicom;
using DocumentFormat.OpenXml.Office.CustomUI;
using FellowOakDicom;
using FellowOakDicom.Media;
using System;
using System.Collections.Generic;
@@ -57,6 +58,7 @@ namespace IRaCIS.Core.Application.Helper
var mappings = new List<string>();
int index = 1;
var studyUid=list.FirstOrDefault()?.StudyInstanceUid;
var dicomDir = new DicomDirectory();
@@ -130,7 +132,7 @@ namespace IRaCIS.Core.Application.Helper
var relativePath= await _oSSService.UploadToOSSAsync(memoryStream, ossFolder, "DICOMDIR", true);
dic.Add("DICOMDIR" , relativePath.Split('/').Last());
dic.Add($"{studyUid}_DICOMDIR" , relativePath.Split('/').Last());
}
//清理临时文件