DayReportBLL.cs 1.2 KB

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