/// <summary> /// 获取座位人数 /// </summary> /// <param name="orderid"></param> /// <returns></returns> private string GetPeopleNum(string orderid) { EyouSoft.BLL.TourStructure.BTourOrder bll = new EyouSoft.BLL.TourStructure.BTourOrder(); EyouSoft.Model.TourStructure.MTourOrderExpand orderModel = bll.GetTourOrderExpandByOrderId(orderid); int peonum = 0; if (orderModel != null) { peonum = orderModel.Adults + orderModel.Childs; } return(peonum.ToString()); }
private void PageInitForOrder(string orderID) { EyouSoft.BLL.TourStructure.BTourOrder bll = new EyouSoft.BLL.TourStructure.BTourOrder(); EyouSoft.Model.TourStructure.MTourOrderExpand orderModel = bll.GetTourOrderExpandByOrderId(orderID); if (orderModel != null) { this.lblOrderNum.Text = orderModel.OrderCode; this.ltrBuyCompanyName.Text = orderModel.BuyCompanyName; txtHeTongHao.HeTongId = orderModel.ContractId; txtHeTongHao.HeTongCode = orderModel.ContractCode; } else { Utils.ResponseGoBack(); } }