Service/HStation.Service.Organize.Core/05-service/02-UserLoginMap/UserLoginMap.cs
@@ -123,10 +123,15 @@ /// <summary> /// 通过 员工ID 获取登录用户ID /// </summary> public static Model.UserLoginMap GetLoginUserIDByEmployeeID(long ID) public static long GetLoginUserByEmployeeID(long ID) { var all = GetCache(); return all.Find(x => x.ObjectID == ID); var bol = all.Find(x => x.ObjectID == ID); if (bol != null) { return bol.LoginID; } return 0; } /// <summary>