CashBalanceReportController.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using LeaRun.Application.Busines.CustomerManage;
  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.CustomerManage.Controllers
  8. {
  9. /// <summary>
  10. /// 版 本 6.1
  11. /// Copyright (c) 2013-2016 上海力软信息技术有限公司
  12. /// 创 建:佘赐雄
  13. /// 日 期:2016-04-28 15:20
  14. /// 描 述:现金余额报表
  15. /// </summary>
  16. public class CashBalanceReportController : MvcControllerBase
  17. {
  18. private CashBalanceBLL cashbalancebll = new CashBalanceBLL();
  19. #region 视图功能
  20. /// <summary>
  21. /// 列表页面
  22. /// </summary>
  23. /// <returns></returns>
  24. [HttpGet]
  25. public ActionResult Index()
  26. {
  27. return View();
  28. }
  29. #endregion
  30. #region 获取数据
  31. /// <summary>
  32. /// 获取列表
  33. /// </summary>
  34. /// <param name="queryJson">查询参数</param>
  35. /// <returns>返回列表Json</returns>
  36. [HttpGet]
  37. public ActionResult GetListJson(string queryJson)
  38. {
  39. var data = cashbalancebll.GetList(queryJson);
  40. return ToJsonResult(data);
  41. }
  42. #endregion
  43. }
  44. }