From ed58be15bd02d716b73bf8fef33a4f93ddc354ef Mon Sep 17 00:00:00 2001 From: ndbs Date: Tue, 10 Sep 2024 15:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=89=80=E6=9C=89=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=8E=A5=E5=8F=A3=20=E6=B7=BB=E5=8A=A0=E6=9C=89?= =?UTF-8?q?=E6=95=88=E6=A0=87=E8=AF=86=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.Organization/User/UserService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs b/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs index 92de34209..a4c8d0177 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs @@ -295,7 +295,7 @@ namespace Learun.Application.Organization var strSql = new StringBuilder(); strSql.Append("SELECT "); strSql.Append(fieldStr.Replace("t.F_Password,", "").Replace("t.F_Secretkey,", "")); - strSql.Append(" FROM LR_Base_User t WHERE t.F_DeleteMark = 0 ORDER BY t.F_CompanyId,t.F_DepartmentId,t.F_RealName "); + strSql.Append(" FROM LR_Base_User t WHERE t.F_DeleteMark = 0 and F_EnabledMark =0 t.ORDER BY t.F_CompanyId,t.F_DepartmentId,t.F_RealName "); return this.BaseRepository().FindList(strSql.ToString()); } catch (Exception ex)