From 48af9159f54e0b5e6df22b6bd9d840cb2ca98a8b Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Tue, 1 Dec 2026 16:59:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(project):=20=E9=A1=B9=E7=9B=AE=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E9=80=89=E6=8B=A9=E5=85=BC=E5=AE=B9=E7=A9=BA=E8=A7=92?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将角色字段为空字符串的人员也纳入可选择范围。 --- SGGL/FineUIPro.Web/ProjectData/ProjectUserSelect.aspx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/ProjectData/ProjectUserSelect.aspx.cs b/SGGL/FineUIPro.Web/ProjectData/ProjectUserSelect.aspx.cs index 316ebaae..5ab1b40d 100644 --- a/SGGL/FineUIPro.Web/ProjectData/ProjectUserSelect.aspx.cs +++ b/SGGL/FineUIPro.Web/ProjectData/ProjectUserSelect.aspx.cs @@ -59,7 +59,7 @@ string strSql = @"SELECT Persons.PersonId,Persons.CardNo,Persons.PersonName,U.UnitName,IdentityCard,RoleIds FROM SitePerson_Person AS Persons LEFT JOIN Base_Unit AS U ON Persons.UnitId=U.UnitId - WHERE Persons.ProjectId =@ProjectId AND Persons.RoleIds is null "; + WHERE Persons.ProjectId =@ProjectId AND ( Persons.RoleIds is null or Persons.RoleIds ='') "; List listStr = new List { new SqlParameter("@ProjectId", this.ProjectId),