1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using LeaRun.Application.Busines.WaterWell;
- using LeaRun.Util.WebControl;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Web.Mvc;
- namespace LeaRun.Application.Web.Areas.WaterWellManage.Controllers
- {
- /// <summary>
- /// 创 建:宋熙明
- /// 日 期:2017-12-22
- /// 描 述:历史记录
- /// </summary>
- public class HistoryController : MvcControllerBase
- {
- private WaterWellHistoryBLL historyBll = new WaterWellHistoryBLL();
- #region 视图功能
- // GET: /HistoryManager/History/
- /// <summary>
- /// 历史记录首页
- /// </summary>
- /// <returns></returns>
- public ActionResult HistoryIndex()
- {
- return View();
- }
- #endregion
- #region 获取历史数据
- /// <summary>
- /// 获取历史数据
- /// </summary>
- /// <returns></returns>
- [HttpGet]
- public ActionResult GetListJson(Pagination pagination, string keyword, string startT, string endT, string nodes, bool isAll)
- {
- string data = historyBll.GetHistoryData(pagination, keyword, startT, endT, nodes, isAll);
- return Content(data);
- }
- #endregion
- }
- }
|