/// <summary> /// 取得要查询网络的起点编号 /// </summary> /// <param name="isDian">是否是店调用</param> /// <returns>起点编号</returns> private string getBH(string sf) { string bh = txtBox_GLBH.Text; if (bh.Length == 0) { switch (sf) { case "D": string storeid = Session["Store"].ToString(); bh = DetialQueryBLL.GetNumberByStoreID(storeid); //Session["Store"] break; case "G": bh = BLL.CommonClass.CommonDataBLL.getManageID(3);; break; case "H": bh = Convert.ToString(Session["Member"]); break; } } else { bh = txtBox_GLBH.Text; } return(bh); }
/// <summary> /// 取得要查询网络的起点编号 /// </summary> /// <param name="isDian">是否是店调用</param> /// <returns>起点编号</returns> private string getBH(string sf) { string bh = ""; switch (sf) { case "D": string storeid = Session["Store"].ToString(); bh = DetialQueryBLL.GetNumberByStoreID(storeid); //Session["Store"] break; case "G": bh = BLL.CommonClass.CommonDataBLL.getManageID(1); break; case "H": bh = Convert.ToString(Session["Member"]); break; } return(bh); }