IRecruitSpecialtyServices.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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.Entities;
  7. using EMIS.ViewModel;
  8. using EMIS.ViewModel.EnrollManage.SpecialtyManage;
  9. namespace EMIS.CommonLogic.EnrollManage.SpecialtyManage
  10. {
  11. public interface IRecruitSpecialtyServices
  12. {
  13. /// <summary>
  14. /// 查询对应的招生专业信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="campusID"></param>
  18. /// <param name="collegeID"></param>
  19. /// <param name="gradeID"></param>
  20. /// <param name="standardID"></param>
  21. /// <param name="educationID"></param>
  22. /// <param name="learningformID"></param>
  23. /// <param name="learnSystem"></param>
  24. /// <param name="isGenerated"></param>
  25. /// <param name="pageIndex"></param>
  26. /// <param name="pageSize"></param>
  27. /// <returns></returns>
  28. IGridResultSet<RecruitSpecialtyView> GetRecruitSpecialtyViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
  29. int? educationID, int? learningformID, string learnSystem, int? isGenerated, int pageIndex, int pageSize);
  30. /// <summary>
  31. /// 查询对应的招生专业信息List
  32. /// </summary>
  33. /// <param name="configuretView"></param>
  34. /// <param name="campusID"></param>
  35. /// <param name="collegeID"></param>
  36. /// <param name="gradeID"></param>
  37. /// <param name="standardID"></param>
  38. /// <param name="educationID"></param>
  39. /// <param name="learningformID"></param>
  40. /// <param name="learnSystem"></param>
  41. /// <param name="isGenerated"></param>
  42. /// <returns></returns>
  43. IList<RecruitSpecialtyView> GetRecruitSpecialtyViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
  44. int? educationID, int? learningformID, string learnSystem, int? isGenerated);
  45. /// <summary>
  46. /// 查询对应的招生专业信息CF_RecruitSpecialty
  47. /// </summary>
  48. /// <param name="recruitSpecialtyID"></param>
  49. /// <returns></returns>
  50. CF_RecruitSpecialty GetRecruitSpecialtyInfo(Guid? recruitSpecialtyID);
  51. /// <summary>
  52. /// 查询对应的招生专业信息RecruitSpecialtyView
  53. /// </summary>
  54. /// <param name="recruitSpecialtyID"></param>
  55. /// <returns></returns>
  56. RecruitSpecialtyView GetRecruitSpecialtyView(Guid? recruitSpecialtyID);
  57. /// <summary>
  58. /// 招生专业批量新增(业务主键:专业信息ID、年级、学期、院系所)
  59. /// </summary>
  60. /// <param name="specialtyIDList"></param>
  61. /// <param name="recruitSpecialtyView"></param>
  62. /// <returns></returns>
  63. string RecruitSpecialtyBatchAdd(List<Guid?> specialtyIDList, RecruitSpecialtyView recruitSpecialtyView);
  64. /// <summary>
  65. /// 查询招生专业中未新增的专业信息SpecialtyView
  66. /// </summary>
  67. /// <param name="configuretView"></param>
  68. /// <param name="collegeID"></param>
  69. /// <param name="gradeID"></param>
  70. /// <param name="semesterID"></param>
  71. /// <param name="standardID"></param>
  72. /// <param name="educationID"></param>
  73. /// <param name="learningformID"></param>
  74. /// <param name="learnSystem"></param>
  75. /// <param name="scienceclassID"></param>
  76. /// <param name="pageIndex"></param>
  77. /// <param name="pageSize"></param>
  78. /// <returns></returns>
  79. IGridResultSet<SpecialtyView> GetSpecialtyViewNoAdd(ConfiguretView configuretView, Guid? collegeID, int? gradeID, int? semesterID, int? standardID,
  80. int? educationID, int? learningformID, string learnSystem, int? scienceclassID, int pageIndex, int pageSize);
  81. /// <summary>
  82. /// 编辑(新增、修改,业务主键:专业信息ID、院系所、年级、学期)
  83. /// </summary>
  84. /// <param name="recruitSpecialtyView"></param>
  85. void RecruitSpecialtyEdit(RecruitSpecialtyView recruitSpecialtyView);
  86. /// <summary>
  87. /// 专业班级生成(由于各高校生成规则不同,需分版本—个性化配置)
  88. /// </summary>
  89. /// <param name="recruitSpecialtyIDs"></param>
  90. /// <returns></returns>
  91. string GenerateClass(List<Guid?> recruitSpecialtyIDs);
  92. /// <summary>
  93. /// 删除(需根据业务主键删除对应的流程结束专业申请信息)
  94. /// </summary>
  95. /// <param name="recruitSpecialtyIDList"></param>
  96. /// <returns></returns>
  97. bool RecruitSpecialtyDelete(List<Guid?> recruitSpecialtyIDList);
  98. /// <summary>
  99. /// Excel导入
  100. /// </summary>
  101. /// <param name="cellheader"></param>
  102. /// <param name="inCount"></param>
  103. /// <param name="upCount"></param>
  104. /// <param name="errdataList"></param>
  105. /// <param name="errCount"></param>
  106. /// <param name="sourcePhysicalPath"></param>
  107. void RecruitSpecialtyImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<RecruitSpecialtyView> errdataList, out int? errCount, string sourcePhysicalPath);
  108. }
  109. }