123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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 MonthReportController : MvcControllerBase
- {
- // 月报表
- // GET: /WaterWellManage/MonthRecord/
- MonthReportBLL monthReportBLL = new MonthReportBLL();
- public ActionResult Index()
- {
- return View();
- }
- #region 获取分析数据
- /// <summary>
- /// 获取分析数据
- /// </summary>
- /// <returns></returns>
- [HttpGet]
- public ActionResult GetListJson(string waterWellId, string month)
- {
- return Content(monthReportBLL.GetMonthReport(waterWellId, month));
- }
- #endregion
- #region 获取分析子数据
- /// <summary>
- /// 获取分析子数据
- /// </summary>
- /// <param name="Day"></param>
- /// <param name="Month"></param>
- /// <param name="WaterWellId"></param>
- /// <param name="id"></param>
- /// <returns></returns>
- [HttpGet]
- public ActionResult GetSubListJson(string Day, string Month, string WaterWellId, string id)
- {
- return Content(monthReportBLL.GetSubMonthReport(Day, Month, WaterWellId));
- }
- #endregion
- }
- }
|