修改删除
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
hang 2025-04-15 09:13:56 +08:00
parent 1e4044488d
commit 1fff2f7256
1 changed files with 5 additions and 3 deletions

View File

@ -1102,10 +1102,12 @@ namespace IRaCIS.Core.Application.Image.QA
await _scpStudyRepository.BatchUpdateNoTrackingAsync(t => t.Id == id, u => new SCPStudy() { SubjectVisitId = null });
if (fisrtPath.IsNotNullOrEmpty())
{
var prefix = fisrtPath.Substring(1, fisrtPath.LastIndexOf('/') - 1);
var prefix = fisrtPath.Substring(1, fisrtPath.LastIndexOf('/') - 1);
await _oSSService.DeleteFromPrefix(prefix, true);
await _oSSService.DeleteFromPrefix(prefix, true);
}
}