IClassmajorServices.cs 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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.UniversityManage.SpecialtyClassManage;
  9. using EMIS.ViewModel.StudentManage.StudentProfile;
  10. namespace EMIS.CommonLogic.UniversityManage.SpecialtyClassManage
  11. {
  12. public interface IClassmajorServices
  13. {
  14. /// <summary>
  15. /// 查询对应的班级信息View
  16. /// </summary>
  17. /// <param name="configuretView"></param>
  18. /// <param name="campusID"></param>
  19. /// <param name="collegeID"></param>
  20. /// <param name="gradeID"></param>
  21. /// <param name="standardID"></param>
  22. /// <param name="educationID"></param>
  23. /// <param name="learningformID"></param>
  24. /// <param name="learnSystem"></param>
  25. /// <param name="grademajorID"></param>
  26. /// <param name="semesterID"></param>
  27. /// <param name="inSchoolStatus"></param>
  28. /// <param name="pageIndex"></param>
  29. /// <param name="pageSize"></param>
  30. /// <returns></returns>
  31. IGridResultSet<ClassmajorView> GetClassmajorViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
  32. int? educationID, int? learningformID, string learnSystem, Guid? grademajorID, int? semesterID, int? inSchoolStatus, int pageIndex, int pageSize);
  33. /// <summary>
  34. /// 查询对应的班级信息List
  35. /// </summary>
  36. /// <param name="configuretView"></param>
  37. /// <param name="campusID"></param>
  38. /// <param name="collegeID"></param>
  39. /// <param name="gradeID"></param>
  40. /// <param name="standardID"></param>
  41. /// <param name="educationID"></param>
  42. /// <param name="learningformID"></param>
  43. /// <param name="learnSystem"></param>
  44. /// <param name="grademajorID"></param>
  45. /// <param name="semesterID"></param>
  46. /// <param name="inSchoolStatus"></param>
  47. /// <returns></returns>
  48. IList<ClassmajorView> GetClassmajorViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
  49. int? educationID, int? learningformID, string learnSystem, Guid? grademajorID, int? semesterID, int? inSchoolStatus);
  50. /// <summary>
  51. /// 查询对应的班级信息View(在校)
  52. /// </summary>
  53. /// <param name="configuretView"></param>
  54. /// <param name="campusID"></param>
  55. /// <param name="collegeID"></param>
  56. /// <param name="gradeID"></param>
  57. /// <param name="standardID"></param>
  58. /// <param name="educationID"></param>
  59. /// <param name="learningformID"></param>
  60. /// <param name="learnSystem"></param>
  61. /// <param name="grademajorID"></param>
  62. /// <param name="pageIndex"></param>
  63. /// <param name="pageSize"></param>
  64. /// <returns></returns>
  65. IGridResultSet<ClassmajorView> GetClassmajorViewForInschoolGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
  66. int? educationID, int? learningformID, string learnSystem, Guid? grademajorID, int pageIndex, int pageSize);
  67. /// <summary>
  68. /// 查询对应的班级信息List(在校)
  69. /// </summary>
  70. /// <param name="configuretView"></param>
  71. /// <param name="campusID"></param>
  72. /// <param name="collegeID"></param>
  73. /// <param name="gradeID"></param>
  74. /// <param name="standardID"></param>
  75. /// <param name="educationID"></param>
  76. /// <param name="learningformID"></param>
  77. /// <param name="learnSystem"></param>
  78. /// <param name="grademajorID"></param>
  79. /// <returns></returns>
  80. IList<ClassmajorView> GetClassmajorViewForInschoolList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
  81. int? educationID, int? learningformID, string learnSystem, Guid? grademajorID);
  82. /// <summary>
  83. /// 查询对应的班级信息View(带毕业学期)
  84. /// </summary>
  85. /// <param name="configuretView"></param>
  86. /// <param name="collegeID"></param>
  87. /// <param name="gradeID"></param>
  88. /// <param name="standardID"></param>
  89. /// <param name="educationID"></param>
  90. /// <param name="learningformID"></param>
  91. /// <param name="learnSystem"></param>
  92. /// <param name="graduateSchoolyearID"></param>
  93. /// <param name="pageIndex"></param>
  94. /// <param name="pageSize"></param>
  95. /// <returns></returns>
  96. IGridResultSet<ClassmajorView> GetClassmajorViewForGraduateGrid(ConfiguretView configuretView, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  97. int? learningformID, string learnSystem, Guid? graduateSchoolyearID, int pageIndex, int pageSize);
  98. /// <summary>
  99. /// 查询对应的班级信息List(带毕业学期)
  100. /// </summary>
  101. /// <param name="configuretView"></param>
  102. /// <param name="collegeID"></param>
  103. /// <param name="gradeID"></param>
  104. /// <param name="standardID"></param>
  105. /// <param name="educationID"></param>
  106. /// <param name="learningformID"></param>
  107. /// <param name="learnSystem"></param>
  108. /// <param name="graduateSchoolyearID"></param>
  109. /// <returns></returns>
  110. IList<ClassmajorView> GetClassmajorViewForGraduateList(ConfiguretView configuretView, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  111. int? learningformID, string learnSystem, Guid? graduateSchoolyearID);
  112. /// <summary>
  113. /// 查询对应的班级信息List(带数据范围)
  114. /// </summary>
  115. /// <param name="collegeID"></param>
  116. /// <param name="gradeID"></param>
  117. /// <param name="standardID"></param>
  118. /// <returns></returns>
  119. List<CF_Classmajor> GetClassmajorList(Guid? collegeID, int? gradeID, int? standardID);
  120. /// <summary>
  121. /// 根据年级专业信息ID查询对应的班级信息List
  122. /// </summary>
  123. /// <param name="grademajorID"></param>
  124. /// <returns></returns>
  125. List<CF_Classmajor> GetClassmajorByGrademajorIDList(Guid? grademajorID);
  126. /// <summary>
  127. /// 查询对应的班级信息CF_Classmajor
  128. /// </summary>
  129. /// <param name="classmajorID"></param>
  130. /// <returns></returns>
  131. CF_Classmajor GetClassmajorInfo(Guid? classmajorID);
  132. /// <summary>
  133. /// 查询对应的班级信息ClassmajorView
  134. /// </summary>
  135. /// <param name="classmajorID"></param>
  136. /// <returns></returns>
  137. ClassmajorView GetClassmajorView(Guid? classmajorID);
  138. /// <summary>
  139. /// 编辑(新增、修改,业务主键:班级编号或班级名称唯一)
  140. /// </summary>
  141. /// <param name="classmajorView"></param>
  142. void ClassmajorEdit(ClassmajorView classmajorView);
  143. /// <summary>
  144. /// 批量新增
  145. /// </summary>
  146. /// <param name="classmajorView"></param>
  147. /// <returns></returns>
  148. string ClassmajorBatchAdd(ClassmajorView classmajorView);
  149. /// <summary>
  150. /// 删除
  151. /// </summary>
  152. /// <param name="classmajorIDList"></param>
  153. /// <returns></returns>
  154. bool ClassmajorDelete(IList<Guid?> classmajorIDList);
  155. /// <summary>
  156. /// 查询班级信息对应的学生信息BaseStudentView
  157. /// </summary>
  158. /// <param name="configuretView"></param>
  159. /// <param name="classmajorID"></param>
  160. /// <param name="inSchoolStatus"></param>
  161. /// <param name="pageIndex"></param>
  162. /// <param name="pageSize"></param>
  163. /// <returns></returns>
  164. IGridResultSet<StudentBaseView> GetStudentBaseViewGrid(ConfiguretView configuretView, Guid? classmajorID, int? inSchoolStatus, int pageIndex, int pageSize);
  165. /// <summary>
  166. /// 查询班级信息对应的学生信息List
  167. /// </summary>
  168. /// <param name="configuretView"></param>
  169. /// <param name="classmajorID"></param>
  170. /// <param name="inSchoolStatus"></param>
  171. /// <returns></returns>
  172. List<StudentBaseView> GetStudentBaseViewList(ConfiguretView configuretView, Guid? classmajorID, int? inSchoolStatus);
  173. /// <summary>
  174. /// 班级信息Excel导入
  175. /// </summary>
  176. /// <param name="cellheader"></param>
  177. /// <param name="inCount"></param>
  178. /// <param name="upCount"></param>
  179. /// <param name="errdataList"></param>
  180. /// <param name="errCount"></param>
  181. /// <param name="sourcePhysicalPath"></param>
  182. void ClassmajorImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<ClassmajorView> errdataList, out int? errCount, string sourcePhysicalPath);
  183. }
  184. }