1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- using LeaRun.Application.Busines.WaterWell;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- namespace LeaRun.Application.Web.Areas.WaterWellManage.Controllers
- {
- public class DayReportController : MvcControllerBase
- {
- DayReportBLL dayReportBLL = new DayReportBLL();
- // 日报表
- // GET: /WaterWellManage/DayReport/
- public ActionResult Index()
- {
- return View();
- }
- #region 获取分析数据
- /// <summary>
- /// 获取分析数据
- /// </summary>
- /// <returns></returns>
- [HttpGet]
- public ActionResult GetListJson(string waterWellId, string date)
- {
- return Content(dayReportBLL.GetDayReport(waterWellId, date));
- }
- #endregion
- #region 分析子数据
- /// <summary>
- /// 获取分析子数据
- /// </summary>
- /// <param name="strParams"></param>
- /// <returns></returns>
- [HttpGet]
- public ActionResult GetSubListJson(string Time, string Day, string WaterWellId, string id)
- {
- return Content(dayReportBLL.GetSubDayReport(Time, Day, WaterWellId));
- }
- #endregion
- }
- }
|