23 lines
621 B
23 lines
621 B
using System;
|
|
using System.Web.Mvc;
|
|
|
|
using Pingchuan.BeijingSafeguard.BLL;
|
|
using Pingchuan.BeijingSafeguard.Model;
|
|
|
|
namespace Pingchuan.BeijingSafeguard.App.Controllers
|
|
{
|
|
public class StatisticAnalysisController : BaseController
|
|
{
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
[HttpPost]
|
|
public JsonResult Query(string typeCode, DateTime fromTime, DateTime toTime, int page, int rows)
|
|
{
|
|
Pagination<Statistic> pagination = TaskBLL.Statistics(typeCode, fromTime, toTime, page, rows);
|
|
return Json(pagination);
|
|
}
|
|
}
|
|
}
|