/// <summary>
        /// 查询泰隆优选大使基本信息。
        /// </summary>
        /// <param name="queryVM"></param>
        /// <param name="p"></param>
        /// <param name="callback"></param>
        public void QueryAmbassadorBasicInfo(NeweggAmbassadorQueryVM queryVM, PagingInfo p, EventHandler <RestClientEventArgs <dynamic> > callback)
        {
            var queryFilter = queryVM.ConvertVM <NeweggAmbassadorQueryVM, NeweggAmbassadorQueryFilter>();

            queryFilter.CompanyCode = CPApplication.Current.CompanyCode;
            queryFilter.PagingInfo  = p;
            string relativeUrl = "/MKTService/NeweggAmbassador/QueryAmbassadorBasicInfo";

            restClient.QueryDynamicData(relativeUrl, queryFilter, callback);
        }
        /// <summary>
        /// 导出泰隆优选大使基本信息到Excel
        /// </summary>
        /// <param name="queryVM"></param>
        /// <param name="p"></param>
        /// <param name="callback"></param>
        public void ExportAllBasicInfoToExcel(NeweggAmbassadorQueryVM queryVM, ColumnSet[] columnSet)
        {
            var queryFilter = queryVM.ConvertVM <NeweggAmbassadorQueryVM, NeweggAmbassadorQueryFilter>();

            queryFilter.CompanyCode = CPApplication.Current.CompanyCode;

            queryFilter.PagingInfo = new PagingInfo()
            {
                PageSize  = ConstValue.MaxRowCountLimit,
                PageIndex = 0,
                SortBy    = string.Empty
            };

            queryFilter.PagingInfo.PageSize = -1;
            string relativeUrl = "/MKTService/NeweggAmbassador/QueryAmbassadorBasicInfo";

            restClient.ExportFile(relativeUrl, queryFilter, columnSet);
        }