public ActionResult GetProductCountGroupProvince()
        {
            XCLShouCang.BLL.TB_Product productBLL = new XCLShouCang.BLL.TB_Product();
            long searchKeyID = XCLNetTools.StringHander.FormHelper.GetLong("searchKeyID");
            List <XCLShouCang.Model.TB_ProductCountGroupProvince> lst = productBLL.GetProductCountGroupProvince(searchKeyID);

            return(Json(lst, JsonRequestBehavior.AllowGet));
        }
 /// <summary>
 /// 商品信息列表
 /// </summary>
 public ActionResult ProductList(long id)
 {
     Web.Models.ProductListModel  viewModel    = new Models.ProductListModel();
     XCLShouCang.BLL.TB_SearchKey searchKeyBLL = new XCLShouCang.BLL.TB_SearchKey();
     XCLShouCang.BLL.TB_Product   productBLL   = new XCLShouCang.BLL.TB_Product();
     viewModel.SearchKeyModel = searchKeyBLL.GetModel(id);
     if (null != viewModel.SearchKeyModel)
     {
         viewModel.ProductList = productBLL.GetModelList(viewModel.SearchKeyModel.SearchKeyID);
     }
     ViewBag.Title = viewModel.SearchKeyModel.KeyName;
     return(View("~/Views/TMSearch/ProductList.cshtml", viewModel));
 }
        /// <summary>
        /// 根据关键字,导出商品信息
        /// </summary>
        public void ProductOutPut()
        {
            long searchKeyID = XCLNetTools.StringHander.FormHelper.GetLong("searchKeyID");

            XCLShouCang.BLL.TB_SearchKey searchKeyBLL = new XCLShouCang.BLL.TB_SearchKey();
            XCLShouCang.BLL.TB_Product   productBLL   = new XCLShouCang.BLL.TB_Product();

            XCLShouCang.Model.TB_SearchKey keyModel = searchKeyBLL.GetModel(searchKeyID);
            if (null != keyModel)
            {
                DataSet ds = productBLL.GetProductDataTable(keyModel.SearchKeyID);
                XCLNetTools.DataHandler.DataToExcel.OutPutExcel(new XCLNetTools.DataHandler.OutPutParamClass()
                {
                    ds           = ds,
                    AutoDownLoad = true,
                    conTitle     = new string[] { string.Format("天猫关键字【{0}】的查询结果!", keyModel.KeyName) },
                    fileTitle    = Web.Common.CommonHelper.WebInfo.WebName
                });
            }
        }