duheng
2024-10-29 9a17ed5ea49bf399ed0303428a6d5ca41a8c39dd
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>