using LeaRun.Application.Busines.DMAManage; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace LeaRun.Application.Web.Areas.DMAManage.Controllers { public class PartitionReportController : MvcControllerBase { // 分区绘制 // GET: /DMAManage/PartitionDraw/ #region 视图区域 public ActionResult Index() { return View(); } #endregion PartitionReportBLL partitionReportBLL = new PartitionReportBLL(); #region 获取分析数据 /// /// 获取分析数据 /// /// /// /// /// public ActionResult GetPartitionReports(string DMAIDs, string selectMonth, bool isAll) { string preMonth = DateTime.Parse(selectMonth).AddMonths(-1).ToString("yyyy-MM"); string result = partitionReportBLL.GetPartitionReports(DMAIDs, selectMonth, preMonth, isAll); return Content(result); } #endregion } }