/// <summary>
        /// 点选终端分页查询控件
        /// </summary>
        /// <param name="pContext"></param>
        /// <returns></returns>
        private PageResultEntity GetStoreSelectPageData(HttpContext pContext)
        {
            StoreContorlSelectBLL b      = new StoreContorlSelectBLL(new SessionManager().CurrentUserLoginInfo, "Store");
            string pSearch               = pContext.Request["pSearch"];
            List <DefindControlEntity> l = new List <DefindControlEntity>();

            if (!string.IsNullOrEmpty(pSearch))
            {
                l = pSearch.DeserializeJSONTo <List <DefindControlEntity> >();
            }

            int?pPageIndex = null;
            int?pPageSize  = null;

            if (!string.IsNullOrEmpty(pContext.Request["pPageIndex"]))
            {
                pPageIndex = Convert.ToInt32(pContext.Request["pPageIndex"]);
            }
            if (!string.IsNullOrEmpty(pContext.Request["pPageSize"]))
            {
                pPageSize = Convert.ToInt32(pContext.Request["pPageSize"]);
            }
            if (!string.IsNullOrEmpty(pContext.Request["pKeyValue"]))
            {
                string pKeyValue = pContext.Request["pKeyValue"];
                return(b.GetSelectPageData(l, pPageSize, pPageIndex, pKeyValue));
            }
            else
            {
                return(b.GetStorePageData(l, pPageSize, pPageIndex));
            }
        }
        /// <summary>
        /// 用于点选控件编辑显示的值
        /// </summary>
        /// <param name="pContext"></param>
        /// <returns></returns>
        private DataTable GetSelectData(HttpContext pContext)
        {
            StoreContorlSelectBLL b = new StoreContorlSelectBLL(new SessionManager().CurrentUserLoginInfo, "Store");
            string pKeyValue        = pContext.Request["pKeyValue"];

            return(b.GetSelectData(pKeyValue));
        }
        /// <summary>
        /// 获取终端列表表头定义
        /// </summary>
        /// <param name="pContext"></param>
        /// <returns></returns>
        private List <GridColumnEntity> GetStoreGridColumns(HttpContext pContext)
        {
            StoreContorlSelectBLL b = new StoreContorlSelectBLL(new SessionManager().CurrentUserLoginInfo, "Store");

            return(b.GetGridColumns());
        }