下载过滤非dicom文件
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
84349c19e7
commit
b115dd5253
|
@ -459,12 +459,15 @@ namespace IRaCIS.Core.Application.Service
|
|||
if (prevVersion == null)
|
||||
continue; // 没找到可恢复版本
|
||||
|
||||
if (Path.GetExtension(prevVersion.Key).IsNotNullOrEmpty())
|
||||
{
|
||||
continue;//不是dicom 文件
|
||||
}
|
||||
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
await File.AppendAllTextAsync(outputFile, $"{prevVersion.Key},{prevVersion.VersionId}" + Environment.NewLine);
|
||||
//await File.AppendAllTextAsync(outputFile, $"{prevVersion.Key},{prevVersion.VersionId}" + Environment.NewLine);
|
||||
|
||||
var getReq = new GetObjectRequest(tempToken.AliyunOSS.BucketName, prevVersion.Key)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue