From a1c714e427193c8de331427f2d1c2773a39b9b22 Mon Sep 17 00:00:00 2001 From: "754998852@qq.com" <754998852@qq.com> Date: Fri, 8 Nov 2024 11:00:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BC=E5=8F=AB=E5=8A=9F=E8=83=BD=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=94=A8=E6=88=B7=E5=A7=93=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/ProjectData/ProjectUserContact.aspx.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SGGL/FineUIPro.Web/ProjectData/ProjectUserContact.aspx.cs b/SGGL/FineUIPro.Web/ProjectData/ProjectUserContact.aspx.cs index 6c1bf788..75fed18b 100644 --- a/SGGL/FineUIPro.Web/ProjectData/ProjectUserContact.aspx.cs +++ b/SGGL/FineUIPro.Web/ProjectData/ProjectUserContact.aspx.cs @@ -53,6 +53,10 @@ namespace FineUIPro.Web.ProjectData List listStr = new List(); listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId)); + if (!string.IsNullOrEmpty(txtUserName.Text)) + { + strSql+= " and Users.UserName like '%"+ txtUserName.Text + "%' "; + } SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);