From ae2907ad5ded7a2a97446ffa5db73425461237cc Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Fri, 28 Jun 2024 10:19:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/QC/QCListService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/QC/QCListService.cs b/IRaCIS.Core.Application/Service/QC/QCListService.cs index 4bcae96ac..4ec4e93bf 100644 --- a/IRaCIS.Core.Application/Service/QC/QCListService.cs +++ b/IRaCIS.Core.Application/Service/QC/QCListService.cs @@ -104,8 +104,10 @@ namespace IRaCIS.Core.Application.Image.QA PageSize = 9999 }); + var pageList = list.Item1.CurrentPageData.ToList(); - var data = list.Item1.CurrentPageData.Where(x=>x.Id==inDto.QCChallengeId||x.IsClosed==false).ToList(); + + var data = pageList.Where(x=>x.Id==inDto.QCChallengeId||x.IsClosed==false).ToList(); if (data.Count > 0) {