IDegreeConditionPackageServices.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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;
  7. using EMIS.ViewModel.DegreeManage.DegreeSetting;
  8. namespace EMIS.CommonLogic.DegreeManage.DegreeSetting
  9. {
  10. public interface IDegreeConditionPackageServices
  11. {
  12. /// <summary>
  13. /// 查询对应的学位公式信息View(只查询学位公式信息,不查询学位公式对应的学位条件)
  14. /// </summary>
  15. /// <param name="configuretView"></param>
  16. /// <param name="isDefault"></param>
  17. /// <param name="pageIndex"></param>
  18. /// <param name="pageSize"></param>
  19. /// <returns></returns>
  20. IGridResultSet<DegreeConditionPackageView> GetDegreeConditionPackageViewGrid(ConfiguretView configuretView,
  21. 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<DegreeConditionPackageView> GetDegreeConditionPackageViewList(ConfiguretView configuretView, int? isDefault);
  29. /// <summary>
  30. /// 根据学位公式ID查询对应的学位公式信息DegreeConditionPackageView
  31. /// </summary>
  32. /// <param name="DegreeConditionPackageID"></param>
  33. /// <returns></returns>
  34. DegreeConditionPackageView GetDegreeConditionPackageView(Guid? DegreeConditionPackageID);
  35. /// <summary>
  36. /// 根据学位公式ID查询对应的学位条件信息List
  37. /// </summary>
  38. /// <param name="DegreeConditionPackageID"></param>
  39. /// <returns></returns>
  40. List<DegreeConditionView> GetDegreeConditionList(Guid? DegreeConditionPackageID);
  41. /// <summary>
  42. /// 查询学位公式中未存在的学位条件信息View
  43. /// </summary>
  44. /// <param name="configuretView"></param>
  45. /// <param name="degreeConditionPackageID"></param>
  46. /// <param name="isCurrent"></param>
  47. /// <param name="pageIndex"></param>
  48. /// <param name="pageSize"></param>
  49. /// <returns></returns>
  50. IGridResultSet<DegreeConditionView> GetDegreeConditionNoViewGrid(ConfiguretView configuretView,
  51. Guid? degreeConditionPackageID, int? isCurrent, int pageIndex, int pageSize);
  52. /// <summary>
  53. /// 查询学位公式中未存在的学位条件信息List
  54. /// </summary>
  55. /// <param name="configuretView"></param>
  56. /// <param name="degreeConditionPackageID"></param>
  57. /// <param name="isCurrent"></param>
  58. /// <returns></returns>
  59. IList<DegreeConditionView> GetDegreeConditionNoViewList(ConfiguretView configuretView,
  60. Guid? degreeConditionPackageID, int? isCurrent);
  61. /// <summary>
  62. /// 编辑(新增、修改)
  63. /// 注:判断是否默认状态(同一种学生类别,只有一种默认公式)
  64. /// 暂时不考虑当公式被引用时,不可修改公式中条件的情况
  65. /// </summary>
  66. /// <param name="degreeConditionPackageView"></param>
  67. /// <param name="degreeConditionViewList"></param>
  68. void DegreeConditionPackageEdit(DegreeConditionPackageView degreeConditionPackageView,
  69. IList<DegreeConditionView> degreeConditionViewList);
  70. /// <summary>
  71. /// 删除(当对应的学位公式被引用时,不可删除--学位公式、对应的学位条件)
  72. /// </summary>
  73. /// <param name="DegreeConditionPackageIDList"></param>
  74. /// <returns></returns>
  75. bool DegreeConditionPackageDelete(List<Guid?> DegreeConditionPackageIDList);
  76. /// <summary>
  77. /// 根据学生类别查询对应的默认学位公式信息View(DegreeConditionPackageView)
  78. /// </summary>
  79. /// <param name="studentType"></param>
  80. /// <returns></returns>
  81. DegreeConditionPackageView GetDegreeConditionPackageIsDefaultView(int? studentType);
  82. }
  83. }