From 1952a108a9de35be79ffccd8eef5d76d55edb7b0 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 4 Jun 2025 16:00:32 +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 --- .../Service/Inspection/FrontAuditConfigService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs index 15d6a4fec..816f0ce8b 100644 --- a/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs +++ b/IRaCIS.Core.Application/Service/Inspection/FrontAuditConfigService.cs @@ -1164,7 +1164,7 @@ namespace IRaCIS.Core.Application.Service DictionaryValue = _userInfo.IsEn_Us ? dic.Value : dic.ValueCN, }).ToListAsync(); - var result = allfront.Where(x => x.IsShow).ToList(); + var result = allfront.Where(x => x.IsShow && x.ParentId!=null).ToList(); FindParent(result, result.Select(x => x.ParentId).ToList()); void FindParent(List re, List Parentids) {