diff --git a/IRaCIS.Core.Application/Helper/OtherTool/DicomSortHelper.cs b/IRaCIS.Core.Application/Helper/OtherTool/DicomSortHelper.cs index 08947e1fa..065fc779e 100644 --- a/IRaCIS.Core.Application/Helper/OtherTool/DicomSortHelper.cs +++ b/IRaCIS.Core.Application/Helper/OtherTool/DicomSortHelper.cs @@ -101,7 +101,7 @@ public static class DicomSliceSorterFast #endregion -public sealed class MaskRegion +public class MaskRegion { public int X { get; } public int Y { get; } diff --git a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs index 4183663c0..b4c2e1982 100644 --- a/IRaCIS.Core.Application/Service/QC/QCOperationService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCOperationService.cs @@ -1393,10 +1393,12 @@ namespace IRaCIS.Core.Application.Image.QA // 获取当前缓存中的访视Id集合(如果没有则创建空集合) - var skippedVisits = await _fusionCache.GetOrDefaultAsync>(CacheKeys.UserQCSkipTask(_userInfo.UserRoleId), new List() { inDto.SubjectVisitId }); + var skippedVisits = await _fusionCache.GetOrDefaultAsync>(CacheKeys.UserQCSkipTask(_userInfo.UserRoleId), new List() { }); //跳过当前访视 if (inDto.IsSkipCurrentVisit) - { + { + skippedVisits.Add(inDto.SubjectVisitId); + currentActionList = currentActionList.Where(t => !skippedVisits.Contains(t.SubjectVisitId)).ToList(); }