From a05cb71e0d91b28b34838e4fb2f2c2292e046cea Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Tue, 3 Jun 2025 13:21:56 +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/Inspection/InspectionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs index 4aeef6999..405c11185 100644 --- a/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/InspectionService.cs @@ -73,7 +73,7 @@ namespace IRaCIS.Core.Application.Service.Inspection }; var frontAuditList =await query.ToListAsync(); - var result= frontAuditList.Where(x=>x.ParentId==null).OrderBy(x=>x.Sort).ToList(); + var result= frontAuditList.Where(x=>x.ParentId==default(Guid)).OrderBy(x=>x.Sort).ToList(); result.ForEach(x => {