/// <summary>
        /// 获取用户权限主键数组
        /// </summary>
        /// <param name="userInfo">用户</param>
        /// <param name="permissionId">权限主键</param>
        /// <returns>主键数组</returns>
        public string[] GetUserIdsByPermission(BaseUserInfo userInfo, string permissionId)
        {
            string[] result = null;

            var parameter = ServiceInfo.Create(userInfo, MethodBase.GetCurrentMethod());

            ServiceUtil.ProcessUserCenterReadDb(userInfo, parameter, (ServiceUtil.ProcessFun)((dbHelper) =>
            {
                // BaseLogManager.Instance.Add(result, this.serviceName, MethodBase.GetCurrentMethod());
                var manager = new BasePermissionManager((IDbHelper)dbHelper, (BaseUserInfo)userInfo);
                result      = manager.GetUserIds((string)userInfo.SystemCode, (string)permissionId);
            }));

            return(result);
        }