public ActionResult PostSubsidyManager(int pageindex = 1)
        {
            Ets.Model.DomainModel.Subsidy.HomeCountCriteria criteria = new Ets.Model.DomainModel.Subsidy.HomeCountCriteria();
            TryUpdateModel(criteria);
            var pagedList = iSubsidyProvider.GetSubsidyList(criteria);

            return(PartialView("_SubsidyManagerList", pagedList));
        }
Exemplo n.º 2
0
        public ActionResult OrderStatistical()
        {
            var criteria = new Ets.Model.DomainModel.Subsidy.HomeCountCriteria()
            {
                PagingRequest = new Ets.Model.Common.NewPagingResult(1, PageSizeType.Web_PageSize.GetHashCode()),
                searchType    = 1
            };
            var pagedList = iOrderProvider.GetOrderCount(criteria);

            return(View(pagedList));
        }
        // GET: SubsidyManager
        public ActionResult SubsidyManager()
        {
            //account account = HttpContext.Session["user"] as account;
            //if (account == null)
            //{
            //    Response.Redirect("/account/login");
            //    return null;
            //}
            ViewBag.txtGroupId = SuperMan.App_Start.UserContext.Current.GroupId;//集团id
            var criteria = new Ets.Model.DomainModel.Subsidy.HomeCountCriteria()
            {
                GroupId = SuperMan.App_Start.UserContext.Current.GroupId
            };
            var pagedList = iSubsidyProvider.GetSubsidyList(criteria);

            return(View(pagedList));
        }
Exemplo n.º 4
0
        public ActionResult OrderStatistical(Ets.Model.DomainModel.Subsidy.HomeCountCriteria criteria)
        {
            var pagedList = iOrderProvider.GetOrderCount(criteria);

            return(PartialView("_PartialOrderStatistical", pagedList));
        }