Browse Source

获取所有用户接口 添加有效标识条件

和田中职
ndbs 2 months ago
parent
commit
ed58be15bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs View File

@@ -295,7 +295,7 @@ namespace Learun.Application.Organization
var strSql = new StringBuilder(); var strSql = new StringBuilder();
strSql.Append("SELECT "); strSql.Append("SELECT ");
strSql.Append(fieldStr.Replace("t.F_Password,", "").Replace("t.F_Secretkey,", "")); 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<UserEntity>(strSql.ToString()); return this.BaseRepository().FindList<UserEntity>(strSql.ToString());
} }
catch (Exception ex) catch (Exception ex)


Loading…
Cancel
Save