//解挂
        protected void btnSolution_Click(object sender, EventArgs e)
        {
            var airlines = (from ListItem item in chklist.Items where item.Selected && item.Enabled select item.Value).ToList();

            if (airlines.Count == 0)
            {
                ShowMessage("解挂航空公司必须选择一个!本次操作被取消!");
                return;
            }
            if (SolutionReason.Text.Trim() == "")
            {
                ShowMessage("解挂原因不能为空!请输入!");
                return;
            }
            if (SolutionReason.Text.Trim().Length >= 100)
            {
                SolutionReason.Text = SolutionReason.Text.Trim().Substring(0, 100);
                ShowMessage("输入解挂原因过长,只能在100字以内!");
                return;
            }
            string      flag      = Request.QueryString["flag"];
            CompanyType type      = CurrentCompany.CompanyType;
            var         ipAddress = ChinaPay.AddressLocator.IPAddressLocator.GetRequestIP(HttpContext.Current.Request);

            //var ipLocation = ChinaPay.AddressLocator.CityLocator.GetIPLocation(ipAddress);
            if (type == CompanyType.Platform && flag == "solution" && flag != null)
            {
                string Reason = SolutionReason.Text;
                bool   falg   = PolicyManageService.UnSuspendPolicies(Guid.Parse(Request.QueryString["id"]), this.CurrentUser.UserName, Reason, ipAddress.ToString(), CurrentCompany.CompanyType == CompanyType.Platform ? PublishRole.平台 : PublishRole.用户, airlines.ToArray());
                if (falg)
                {
                    ResponseRedirect();
                    InitValue();
                }
            }
            else
            {
                string Reason = SolutionReason.Text;
                bool   falg   = PolicyManageService.UnSuspendPolicies(this.CurrentCompany.CompanyId, this.CurrentUser.UserName, Reason, ipAddress.ToString(), CurrentCompany.CompanyType == CompanyType.Platform ? PublishRole.平台 : PublishRole.用户, airlines.ToArray());
                if (falg)
                {
                    InitValue();
                }
            }
        }