IGraduationConditionPackageServices.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Bowin.Common.Linq.Entity;
  6. using EMIS.ViewModel.GraduationManage.GraduationSetting;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. namespace EMIS.CommonLogic.GraduationManage.GraduationSetting
  10. {
  11. public interface IGraduationConditionPackageServices
  12. {
  13. /// <summary>
  14. /// 查询对应的毕业公式信息View(只查询毕业公式信息,不查询毕业公式对应的毕业条件)
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="isDefault"></param>
  18. /// <param name="pageIndex"></param>
  19. /// <param name="pageSize"></param>
  20. /// <returns></returns>
  21. IGridResultSet<GraduationConditionPackageView> GetGradConditionPackageViewGrid(ConfiguretView configuretView, int? isDefault, int pageIndex, int pageSize);
  22. /// <summary>
  23. /// 查询对应的毕业公式信息List
  24. /// </summary>
  25. /// <param name="configuretView"></param>
  26. /// <param name="isDefault"></param>
  27. /// <returns></returns>
  28. List<GraduationConditionPackageView> GetGradConditionPackageViewList(ConfiguretView configuretView, int? isDefault);
  29. /// <summary>
  30. /// 根据毕业公式ID查询对应的毕业公式信息GraduationConditionPackageView
  31. /// </summary>
  32. /// <param name="GraduationConditionPackageID"></param>
  33. /// <returns></returns>
  34. GraduationConditionPackageView GetGraduationConditionPackageView(Guid? GraduationConditionPackageID);
  35. /// <summary>
  36. /// 根据毕业公式ID查询对应的毕业条件信息List
  37. /// </summary>
  38. /// <param name="GraduationConditionPackageID"></param>
  39. /// <returns></returns>
  40. List<GraduationConditionView> GetGraduationConditionList(Guid? GraduationConditionPackageID);
  41. /// <summary>
  42. /// 查询毕业公式中未存在的毕业条件信息View
  43. /// </summary>
  44. /// <param name="configuretView"></param>
  45. /// <param name="graduationConditionPackageID"></param>
  46. /// <param name="isCurrent"></param>
  47. /// <param name="pageIndex"></param>
  48. /// <param name="pageSize"></param>
  49. /// <returns></returns>
  50. IGridResultSet<GraduationConditionView> GetGraduationConditionNoViewGrid(ConfiguretView configuretView, Guid? graduationConditionPackageID, int? isCurrent, int pageIndex, int pageSize);
  51. /// <summary>
  52. /// 查询毕业公式中未存在的毕业条件信息List
  53. /// </summary>
  54. /// <param name="configuretView"></param>
  55. /// <param name="graduationConditionPackageID"></param>
  56. /// <param name="isCurrent"></param>
  57. /// <returns></returns>
  58. IList<GraduationConditionView> GetGraduationConditionNoViewList(ConfiguretView configuretView, Guid? graduationConditionPackageID, int? isCurrent);
  59. /// <summary>
  60. /// 编辑(新增、修改)
  61. /// 注:判断是否默认状态(同一种学生类别,只有一种默认公式)
  62. /// 暂时不考虑当公式被引用时,不可修改公式中条件的情况
  63. /// </summary>
  64. /// <param name="graduationConditionPackageView"></param>
  65. /// <param name="graduationConditionViewList"></param>
  66. void GraduationConditionPackageEdit(GraduationConditionPackageView graduationConditionPackageView, IList<GraduationConditionView> graduationConditionViewList);
  67. /// <summary>
  68. /// 删除(当对应的毕业公式被引用时,不可删除--毕业公式、对应的毕业条件)
  69. /// </summary>
  70. /// <param name="graduationConditionPackageIDs"></param>
  71. /// <returns></returns>
  72. bool GraduationConditionPackageDelete(List<Guid?> graduationConditionPackageIDs);
  73. /// <summary>
  74. /// 根据学生类别查询对应的默认毕业公式信息View(GraduationConditionPackageView)
  75. /// </summary>
  76. /// <param name="studentType"></param>
  77. /// <returns></returns>
  78. GraduationConditionPackageView GetGradConditionPackageIsDefaultView(int? studentType);
  79. }
  80. }