DifferenceAnalysisController.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using LeaRun.Application.Busines.DMAManage;
  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.DMAManage.Controllers
  8. {
  9. public class DifferenceAnalysisController : MvcControllerBase
  10. {
  11. DifferenceAnalysisBLL bll = new DifferenceAnalysisBLL();
  12. // 分区绘制
  13. // GET: /DMAManage/PartitionDraw/
  14. #region 视图区域
  15. public ActionResult Index()
  16. {
  17. return View();
  18. }
  19. #endregion
  20. #region 获取差量分析数据
  21. /// <summary>
  22. /// 获取差量分析数据
  23. /// </summary>
  24. /// <returns></returns>
  25. [HttpGet]
  26. public ActionResult GetDifferenceAnalysis(string startDate, string endDate, string DMAID)
  27. {
  28. return Content(bll.GetDifferenceAnalysis(startDate, endDate, DMAID));
  29. }
  30. #endregion
  31. #region 获取列数据
  32. /// <summary>
  33. /// 获取列数据
  34. /// </summary>
  35. /// <param name="DMAID"></param>
  36. /// <returns></returns>
  37. //[HttpPost]
  38. public string GetColModel(string DMAID)
  39. {
  40. return bll.GetColModel(DMAID);
  41. }
  42. #endregion
  43. }
  44. }