From ef0c9b41d78f4f5bbc4ed15b8b41bef9df5b7adf Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Tue, 18 Nov 2025 10:45:17 +0800 Subject: [PATCH] 1 --- SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx.cs b/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx.cs index 2de8375d..656a3a24 100644 --- a/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx.cs +++ b/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx.cs @@ -269,7 +269,7 @@ namespace FineUIPro.Web.DataShow LEFT JOIN Hazard_HazardList AS B ON A.HazardListId=B.HazardListId where B.ProjectId=p.ProjectId AND B.States = '2' and (a.HazardLevel='4' or a.HazardLevel=(select top 1 RiskLevelId from Base_RiskLevel where RiskLevel='4'))),0) as Count4 - from Base_Project as P where ProjectState =1 "; + from Base_Project as P where ProjectState =1 and IsCNCECShow=1 "; List listStr = new List(); SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);