You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
633 B

3 years ago
using System;
3 years ago
using System.Web.Mvc;
3 years ago
using Pingchuan.BeijingSafeguard.BLL;
using Pingchuan.BeijingSafeguard.Model;
3 years ago
namespace Pingchuan.BeijingSafeguard.App.Controllers
{
public class StatisticAnalysisController : Controller
{
// GET: StatisticAnalysis
public ActionResult Index()
{
return View();
}
3 years ago
[HttpPost]
3 years ago
public JsonResult Query(DateTime fromTime, DateTime toTime, int pageIndex, int pageSize)
3 years ago
{
3 years ago
Pagination<Statistic> page = ComputeBLL.Statistics(fromTime, toTime, pageIndex, pageSize);
return Json(page);
3 years ago
}
3 years ago
}
}