DayReportController.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using LeaRun.Application.Busines.WaterWell;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Web;
  6. using System.Web.Mvc;
  7. namespace LeaRun.Application.Web.Areas.WaterWellManage.Controllers
  8. {
  9. public class DayReportController : MvcControllerBase
  10. {
  11. DayReportBLL dayReportBLL = new DayReportBLL();
  12. // 日报表
  13. // GET: /WaterWellManage/DayReport/
  14. public ActionResult Index()
  15. {
  16. return View();
  17. }
  18. #region 获取分析数据
  19. /// <summary>
  20. /// 获取分析数据
  21. /// </summary>
  22. /// <returns></returns>
  23. [HttpGet]
  24. public ActionResult GetListJson(string waterWellId, string date)
  25. {
  26. return Content(dayReportBLL.GetDayReport(waterWellId, date));
  27. }
  28. #endregion
  29. #region 分析子数据
  30. /// <summary>
  31. /// 获取分析子数据
  32. /// </summary>
  33. /// <param name="strParams"></param>
  34. /// <returns></returns>
  35. [HttpGet]
  36. public ActionResult GetSubListJson(string Time, string Day, string WaterWellId, string id)
  37. {
  38. return Content(dayReportBLL.GetSubDayReport(Time, Day, WaterWellId));
  39. }
  40. #endregion
  41. }
  42. }