This commit is contained in:
夏菊 2025-07-30 14:59:34 +08:00
parent 25a2a158b0
commit e390cf81d1
1 changed files with 1 additions and 1 deletions

View File

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