diff --git a/SUBQHSE/FineUIPro.Web/HSSE/HiddenInspection/HiddenRectificationList.aspx.cs b/SUBQHSE/FineUIPro.Web/HSSE/HiddenInspection/HiddenRectificationList.aspx.cs index 78e8590..46e6360 100644 --- a/SUBQHSE/FineUIPro.Web/HSSE/HiddenInspection/HiddenRectificationList.aspx.cs +++ b/SUBQHSE/FineUIPro.Web/HSSE/HiddenInspection/HiddenRectificationList.aspx.cs @@ -219,7 +219,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection listStr.Add(new SqlParameter("@PUnintId", this.UnintId)); } } - strSql += " AND IsBranch = 1 and ProjectState='1' and (isDelete=0 or isDelete is null )"; + strSql += " AND (IsBranch = 1 or IsThisUnit = 1) and ProjectState='1' and (isDelete=0 or isDelete is null )"; SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);