From fb5032fa5812b46016635b0cafa5e74c98d5b49f Mon Sep 17 00:00:00 2001 From: fanwensheng Date: Wed, 12 Jan 2022 09:56:49 +0800 Subject: [PATCH] Update --- .../Controllers/StatisticAnalysisController.cs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/04.系统编码/App/Controllers/StatisticAnalysisController.cs b/04.系统编码/App/Controllers/StatisticAnalysisController.cs index 0c020f9..aa7d31c 100644 --- a/04.系统编码/App/Controllers/StatisticAnalysisController.cs +++ b/04.系统编码/App/Controllers/StatisticAnalysisController.cs @@ -1,9 +1,9 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; +using PetaPoco; using System.Web.Mvc; +using Pingchuan.BeijingSafeguard.BLL; +using Pingchuan.BeijingSafeguard.Model; + namespace Pingchuan.BeijingSafeguard.App.Controllers { public class StatisticAnalysisController : Controller @@ -13,5 +13,12 @@ namespace Pingchuan.BeijingSafeguard.App.Controllers { return View(); } + + [HttpPost] + public JsonResult Query(int pageIndex, int pageSize) + { + Page users = UserBLL.Query(pageIndex, pageSize); + return Json(users); + } } } \ No newline at end of file