private string CheckAndReturnMsg(OPC_OrgInfo orgInfo, UserProfile userProfile)
        {
            if (orgInfo == null)
            {
                return("组织机构获取失败");
            }

            if (userProfile == null)
            {
                return("用户信息获取失败");
            }

            //非管理员不能添加顶级节点,只能增加子节点
            if (String.IsNullOrEmpty(orgInfo.ParentID) && !userProfile.IsSystem)
            {
                return("父节ID不能为空");
            }

            //验证
            if (!userProfile.IsSystem && !String.IsNullOrEmpty(orgInfo.ParentID))
            {
                var o = _orgServiceService.GetOrgInfoByOrgID(orgInfo.ParentID);

                if (o == null)
                {
                    return("父节点不能为空");
                }
            }

            return(null);
        }