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);