MonthReportBLL.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using LeaRun.Application.Service.WaterWellManage;
  2. using LeaRun.Util;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace LeaRun.Application.Busines.WaterWell
  9. {
  10. public class MonthReportBLL
  11. {
  12. MonthReportService service = new MonthReportService();
  13. #region 查询月报表
  14. /// <summary>
  15. /// 查询月报表
  16. /// </summary>
  17. /// <param name="waterWellId"></param>
  18. /// <param name="date"></param>
  19. /// <returns></returns>
  20. public string GetMonthReport(string waterWellId, string month)
  21. {
  22. return Json.ToJson(service.GetMonthReport(waterWellId, month));
  23. }
  24. #endregion
  25. #region 查询子月报表
  26. /// <summary>
  27. /// 查询子月报表
  28. /// </summary>
  29. /// <param name="day"></param>
  30. /// <param name="month"></param>
  31. /// <param name="waterWellId"></param>
  32. /// <returns></returns>
  33. public string GetSubMonthReport(string day, string month, string waterWellId)
  34. {
  35. return Json.ToJson(service.GetSubMonthReport(day, month, waterWellId));
  36. }
  37. #endregion
  38. }
  39. }