From cd1223d1827696188ea33d9e91e791c423b476ee Mon Sep 17 00:00:00 2001 From: liangkun Date: Fri, 11 Jun 2021 11:58:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9sql=20=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.Organization/User/UserService.cs | 2 +- .../LR_OrganizationModule/Controllers/UserController.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 71124bb8e..0a71fa024 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Organization/User/UserService.cs @@ -262,7 +262,7 @@ namespace Learun.Application.Organization try { var fieldStr = @"t.F_CompanyId,t.F_DepartmentId,t.F_RealName,t.F_Mobile,t.F_HeadIcon, - t.F_UserId,t.F_Gender,t.F_Password, "; + t.F_UserId,t.F_Gender "; var strSql = new StringBuilder(); strSql.Append("SELECT "); strSql.Append(fieldStr.Replace("t.F_Password,", "").Replace("t.F_Secretkey,", "")); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/UserController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/UserController.cs index 380395de7..dee4e3634 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/UserController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OrganizationModule/Controllers/UserController.cs @@ -27,8 +27,8 @@ namespace Learun.Application.Web.Areas.LR_OrganizationModule.Controllers private Sys_DefaultPwdConfigIBLL sys_DefaultPwdConfigIBLL = new Sys_DefaultPwdConfigBLL(); - private static UserIBLL userIBLL_static = new UserBLL(); - private static Dictionary mapData = userIBLL_static.GetModelMap(); + private UserIBLL userIBLL_static = new UserBLL(); + private Dictionary mapData = null; #region 获取视图 @@ -236,7 +236,7 @@ namespace Learun.Application.Web.Areas.LR_OrganizationModule.Controllers [AjaxOnly] public ActionResult GetMap(string ver) { - var data = mapData;//userIBLL.GetModelMap(); + var data = userIBLL_static.GetModelMap(); string md5 = Md5Helper.Encrypt(data.ToJson(), 32); if (md5 == ver) {