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.
 
 
 
 
 
 

82 lines
2.6 KiB

  1. using Learun.Util;
  2. using System.Data;
  3. using System.Collections.Generic;
  4. namespace Learun.Application.TwoDevelopment.EducationalAdministration
  5. {
  6. /// <summary>
  7. /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园
  8. /// Copyright (c) 2013-2018 北京泉江科技有限公司
  9. /// 创 建:超级管理员
  10. /// 日 期:2019-06-17 14:54
  11. /// 描 述:学生处分管理
  12. /// </summary>
  13. public interface StuPunishmentIBLL
  14. {
  15. #region 获取数据
  16. /// <summary>
  17. /// 获取页面显示列表数据
  18. /// <summary>
  19. /// <param name="queryJson">查询参数</param>
  20. /// <returns></returns>
  21. IEnumerable<StuPunishmentEntity> GetPageList(Pagination pagination, string queryJson);
  22. IEnumerable<StuPunishmentEntity> GetPageList(string queryJson);
  23. IEnumerable<StuPunishmentEntity> GetAllList();
  24. /// <summary>
  25. /// 获取StuPunishment表实体数据
  26. /// <param name="keyValue">主键</param>
  27. /// <summary>
  28. /// <returns></returns>
  29. StuPunishmentEntity GetStuPunishmentEntity(string keyValue);
  30. #endregion
  31. #region 提交数据
  32. /// <summary>
  33. /// 删除实体数据
  34. /// <param name="keyValue">主键</param>
  35. /// <summary>
  36. /// <returns></returns>
  37. void DeleteEntity(string keyValue);
  38. /// <summary>
  39. /// 保存实体数据(新增、修改)
  40. /// <param name="keyValue">主键</param>
  41. /// <summary>
  42. /// <returns></returns>
  43. void SaveEntity(string keyValue, StuPunishmentEntity entity);
  44. #endregion
  45. #region 扩展数据
  46. /// <summary>
  47. /// 获取学年学期列表
  48. /// </summary>
  49. /// <returns></returns>
  50. IEnumerable<WebHelper.YearGrade> GetAcademicAndSemesterList();
  51. /// <summary>
  52. /// 获取页面显示列表数据
  53. /// <summary>
  54. /// <param name="queryJson">查询参数</param>
  55. /// <returns></returns>
  56. IEnumerable<StuPunishmentEntity> GetPunishmentListByStuNo(string acdemic, string semester, string stuNo);
  57. /// <summary>
  58. /// 获取页面显示列表数据
  59. /// <summary>
  60. /// <param name="queryJson">查询参数</param>
  61. /// <returns></returns>
  62. IEnumerable<StuPunishmentEntity> GetPunishmentListByStuNo(string stuNo);
  63. /// <summary>
  64. /// 解除处分
  65. /// <param name="keyValue">主键</param>
  66. /// <summary>
  67. /// <returns></returns>
  68. void DoCancelPunish(string keyValue, bool status);
  69. #endregion
  70. }
  71. }