You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

44 lines
1.2 KiB

  1. using Nancy;
  2. using Learun.Util;
  3. using System.Collections.Generic;
  4. using Learun.Application.TwoDevelopment.EducationalAdministration;
  5. using Learun.Application.TwoDevelopment.PersonnelManagement;
  6. namespace Learun.Application.WebApi
  7. {
  8. /// <summary>
  9. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  10. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  11. /// 创 建:超级管理员
  12. /// 日 期:2019-06-17 16:28
  13. /// 描 述:日志发送
  14. /// </summary>
  15. public class SalarySheetApi : BaseApi
  16. {
  17. private SalarySheetIBLL salarySheetIBLL = new SalarySheetBLL();
  18. /// <summary>
  19. /// 注册接口
  20. /// <summary>
  21. public SalarySheetApi()
  22. : base("/Learun/EducationalAdministration/SalarySheet")
  23. {
  24. Get["/list"] = GetList;
  25. }
  26. #region 获取数据
  27. /// <summary>
  28. /// 获取页面显示列表数据
  29. /// <summary>
  30. /// <param name="_"></param>
  31. /// <returns></returns>
  32. public Response GetList(dynamic _)
  33. {
  34. string queryJson = this.GetReqData();
  35. var data = salarySheetIBLL.GetList();
  36. return Success(data);
  37. }
  38. #endregion
  39. }
  40. }