public void UpdateProfileBonusLevel(string userId, decimal bonusMoney)
        {
            int winBaiCount     = 0;
            int winQianCount    = 0;
            int winWanCount     = 0;
            int winShiWanCount  = 0;
            int winBaiWanCount  = 0;
            int winQianWanCount = 0;
            int winYiCount      = 0;

            #region 用户最大中奖记录
            var maxLevelName  = string.Empty;
            var maxLevelValue = 0;

            if (bonusMoney < 100)
            {
                maxLevelName  = "幸运彩民";
                maxLevelValue = 0;
            }
            else if (bonusMoney >= 100 && bonusMoney < 1000)
            {
                winBaiCount   = 1;
                maxLevelName  = "百元";
                maxLevelValue = 100;
            }
            else if (bonusMoney >= 1000 && bonusMoney < 10000)
            {
                winQianCount  = 1;
                maxLevelName  = "千元";
                maxLevelValue = 1000;
            }
            else if (bonusMoney >= 10000 && bonusMoney < 100000)
            {
                winWanCount   = 1;
                maxLevelName  = "万元";
                maxLevelValue = 10000;
            }
            else if (bonusMoney >= 100000 && bonusMoney < 1000000)
            {
                winShiWanCount = 1;
                maxLevelName   = "十万";
                maxLevelValue  = 100000;
            }
            else if (bonusMoney >= 1000000 && bonusMoney < 10000000)
            {
                winBaiWanCount = 1;
                maxLevelName   = "百万";
                maxLevelValue  = 1000000;
            }
            else if (bonusMoney >= 10000000 && bonusMoney < 100000000)
            {
                winQianWanCount = 1;
                maxLevelName    = "千万";
                maxLevelValue   = 10000000;
            }
            else if (bonusMoney >= 100000000)
            {
                maxLevelName  = "亿元";
                maxLevelValue = 100000000;
                winYiCount    = 1;
            }

            #endregion

            var manager = new BlogManager();
            var main    = manager.QueryBlog_ProfileBonusLevel(userId);
            if (main == null)
            {
                var entity = new E_Blog_ProfileBonusLevel()
                {
                    UserId                     = userId,
                    MaxLevelName               = maxLevelName,
                    MaxLevelValue              = maxLevelValue,
                    WinOneHundredCount         = winBaiCount,
                    WinOneThousandCount        = winQianCount,
                    WinTenThousandCount        = winWanCount,
                    WinOneHundredThousandCount = winShiWanCount,
                    WinOneMillionCount         = winBaiWanCount,
                    WinTenMillionCount         = winQianWanCount,
                    WinHundredMillionCount     = winYiCount,
                    UpdateTime                 = DateTime.Now,
                    TotalBonusMoney            = bonusMoney,
                };
                manager.AddBlog_ProfileBonusLevel(entity);
            }
            else
            {
                #region 计算称号 20150922 暂时屏蔽

                //bonusMoney = main.TotalBonusMoney + bonusMoney;
                //if (bonusMoney < 100)
                //{
                //    maxLevelName = "幸运彩民";
                //    maxLevelValue = 0;
                //}
                //else if (bonusMoney >= 100 && bonusMoney < 1000)
                //{
                //    winBaiCount = 1;
                //    maxLevelName = "百元";
                //    maxLevelValue = 100;
                //}
                //else if (bonusMoney >= 1000 && bonusMoney < 10000)
                //{
                //    winQianCount = 1;
                //    maxLevelName = "千元";
                //    maxLevelValue = 1000;
                //}
                //else if (bonusMoney >= 10000 && bonusMoney < 100000)
                //{
                //    winWanCount = 1;
                //    maxLevelName = "万元";
                //    maxLevelValue = 10000;
                //}
                //else if (bonusMoney >= 100000 && bonusMoney < 1000000)
                //{
                //    winShiWanCount = 1;
                //    maxLevelName = "十万";
                //    maxLevelValue = 100000;
                //}
                //else if (bonusMoney >= 1000000 && bonusMoney < 10000000)
                //{
                //    winBaiWanCount = 1;
                //    maxLevelName = "百万";
                //    maxLevelValue = 1000000;
                //}
                //else if (bonusMoney >= 10000000 && bonusMoney < 100000000)
                //{
                //    winQianWanCount = 1;
                //    maxLevelName = "千万";
                //    maxLevelValue = 10000000;
                //}
                //else if (bonusMoney >= 100000000)
                //{
                //    maxLevelName = "亿元";
                //    maxLevelValue = 100000000;
                //    winYiCount = 1;
                //}

                #endregion


                #region 计算称号 new

                var sportManager  = new Sports_Manager();
                var maxBonusMoney = sportManager.GetUserMaxBonusMoney(userId);
                if (maxBonusMoney < 100)
                {
                    maxLevelName  = "幸运彩民";
                    maxLevelValue = 0;
                }
                else if (maxBonusMoney >= 100 && maxBonusMoney < 1000)
                {
                    winBaiCount   = 1;
                    maxLevelName  = "百元";
                    maxLevelValue = 100;
                }
                else if (maxBonusMoney >= 1000 && maxBonusMoney < 10000)
                {
                    winQianCount  = 1;
                    maxLevelName  = "千元";
                    maxLevelValue = 1000;
                }
                else if (maxBonusMoney >= 10000 && maxBonusMoney < 100000)
                {
                    winWanCount   = 1;
                    maxLevelName  = "万元";
                    maxLevelValue = 10000;
                }
                else if (maxBonusMoney >= 100000 && maxBonusMoney < 1000000)
                {
                    winShiWanCount = 1;
                    maxLevelName   = "十万";
                    maxLevelValue  = 100000;
                }
                else if (maxBonusMoney >= 1000000 && maxBonusMoney < 10000000)
                {
                    winBaiWanCount = 1;
                    maxLevelName   = "百万";
                    maxLevelValue  = 1000000;
                }
                else if (maxBonusMoney >= 10000000 && maxBonusMoney < 100000000)
                {
                    winQianWanCount = 1;
                    maxLevelName    = "千万";
                    maxLevelValue   = 10000000;
                }
                else if (maxBonusMoney >= 100000000)
                {
                    maxLevelName  = "亿元";
                    maxLevelValue = 100000000;
                    winYiCount    = 1;
                }

                #endregion

                main.MaxLevelName                = maxLevelName;
                main.MaxLevelValue               = maxLevelValue;
                main.WinOneHundredCount         += winBaiCount;
                main.WinOneThousandCount        += winQianCount;
                main.WinTenThousandCount        += winWanCount;
                main.WinOneHundredThousandCount += winShiWanCount;
                main.WinOneMillionCount         += winBaiWanCount;
                main.WinTenMillionCount         += winQianWanCount;
                main.WinHundredMillionCount     += winYiCount;
                main.UpdateTime       = DateTime.Now;
                main.TotalBonusMoney += bonusMoney;
                //main.TotalBonusMoney = bonusMoney;//20150922修改
                manager.UpdateBlog_ProfileBonusLevel(main);
            }
        }