/// <summary>
        /// 修改模块
        /// </summary>
        private void UpdateRight()
        {
            int    rightLevel = Convert.ToInt32(rblType.SelectedValue);
            string rightName  = txtName.Text.Trim();

            if (rightName == "")
            {
                AlertBack("请输入模块名称!");
                return;
            }
            string rightDescription = txtDescription.Text.Trim();
            string rightUrl         = txtURL.Text.Trim();

            if (rightLevel == 1 && rightUrl == "")
            {
                AlertBack("请输入模块地址!");
                return;
            }
            // 原序号
            int sortIndex = Convert.ToInt32(ViewState["SorIndex"]);

            if (ddlSortIndex.SelectedValue != "-1")
            {
                // 新序号
                int sortIndex_new = Convert.ToInt32(ddlSortIndex.SelectedValue);
                if (rblPosition.SelectedValue == "1")
                {
                    // 新序号之后+1
                    if (sortIndex_new < sortIndex)
                    {
                        sortIndex_new++;
                    }
                }
                else
                {
                    // 新序号之前-1
                    if (sortIndex_new > sortIndex)
                    {
                        sortIndex_new--;
                    }
                }
                sortIndex = sortIndex_new;
            }

            biService.UpdateRight(
                new Right
            {
                ID             = RightID,
                RightLevel     = rightLevel,
                Description    = txtDescription.Text.Trim(),
                AddTime        = DateTime.Now,
                LastUpdateTime = DateTime.Now,
                Name           = rightName,
                RightType      = (RightTypeOptions)Convert.ToInt32(rblType.SelectedValue),
                SortIndex      = sortIndex,
                Status         = (StatusOptions)Convert.ToInt32(rblStatus.SelectedValue),
                PageUrl        = rightUrl,
                ParentID       = ParentRightID,
                SystemID       = GetQueryString("sysId").ToInt32(0),
                OnlyInternal   = rblOnlyInternal.SelectedValue == "1" ? true : false
            });

            Response.Redirect(ReturnUrl);
        }