20230724
This commit is contained in:
@@ -916,11 +916,8 @@ namespace FineUIPro.Web.Person
|
||||
left join Base_Project P on C.ProjectId=P.ProjectId
|
||||
where 1=1 ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
if (this.CurrUser.PersonId != BLL.Const.sysglyId && this.CurrUser.PersonId != BLL.Const.hfnbdId)
|
||||
{
|
||||
strSql += " AND C.UserId=@UserId ";
|
||||
listStr.Add(new SqlParameter("@UserId", this.PersonId));
|
||||
}
|
||||
strSql += " AND C.UserId=@UserId ";
|
||||
listStr.Add(new SqlParameter("@UserId", this.PersonId ?? ""));
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
Reference in New Issue
Block a user