IGrademajorServices.cs 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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 IGrademajorServices
  13. {
  14. /// <summary>
  15. /// 查询对应的年级专业信息GrademajorView
  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="inSchoolStatus"></param>
  26. /// <param name="pageIndex"></param>
  27. /// <param name="pageSize"></param>
  28. /// <returns></returns>
  29. IGridResultSet<GrademajorView> GetGrademajorViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  30. int? learningformID, string learnSystem, int? inSchoolStatus, int pageIndex, int pageSize);
  31. /// <summary>
  32. /// 查询对应的年级专业信息List
  33. /// </summary>
  34. /// <param name="configuretView"></param>
  35. /// <param name="campusID"></param>
  36. /// <param name="collegeID"></param>
  37. /// <param name="gradeID"></param>
  38. /// <param name="standardID"></param>
  39. /// <param name="educationID"></param>
  40. /// <param name="learningformID"></param>
  41. /// <param name="learnSystem"></param>
  42. /// <param name="inSchoolStatus"></param>
  43. /// <returns></returns>
  44. IList<GrademajorView> GetGrademajorViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID, int? educationID,
  45. int? learningformID, string learnSystem, int? inSchoolStatus);
  46. /// <summary>
  47. /// 查询对应的年级专业信息GrademajorView(无数据范围)
  48. /// </summary>
  49. /// <param name="configuretView"></param>
  50. /// <param name="campusID"></param>
  51. /// <param name="collegeID"></param>
  52. /// <param name="gradeID"></param>
  53. /// <param name="standardID"></param>
  54. /// <param name="educationID"></param>
  55. /// <param name="learningformID"></param>
  56. /// <param name="learnSystem"></param>
  57. /// <param name="pageIndex"></param>
  58. /// <param name="pageSize"></param>
  59. /// <returns></returns>
  60. IGridResultSet<GrademajorView> GetGrademajorViewWithoutRangeGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? gradeID, int? standardID,
  61. int? educationID, int? learningformID, string learnSystem, int pageIndex, int pageSize);
  62. /// <summary>
  63. /// 查询年级专业中的专业名称信息FacultymajorView(去重)
  64. /// </summary>
  65. /// <param name="configuretView"></param>
  66. /// <param name="collegeID"></param>
  67. /// <param name="gradeID"></param>
  68. /// <param name="pageIndex"></param>
  69. /// <param name="pageSize"></param>
  70. /// <returns></returns>
  71. IGridResultSet<FacultymajorView> GetStandardViewGrid(ConfiguretView configuretView, Guid? collegeID, int? gradeID, int pageIndex, int pageSize);
  72. /// <summary>
  73. /// 查询年级专业中的专业名称信息List(去重)
  74. /// </summary>
  75. /// <param name="configuretView"></param>
  76. /// <param name="collegeID"></param>
  77. /// <param name="gradeID"></param>
  78. /// <returns></returns>
  79. IList<FacultymajorView> GetStandardViewList(ConfiguretView configuretView, Guid? collegeID, int? gradeID);
  80. /// <summary>
  81. /// 查询年级专业中的年级信息GrademajorView(去重)
  82. /// </summary>
  83. /// <param name="configuretView"></param>
  84. /// <param name="collegeID"></param>
  85. /// <param name="standardID"></param>
  86. /// <param name="pageIndex"></param>
  87. /// <param name="pageSize"></param>
  88. /// <returns></returns>
  89. IGridResultSet<GrademajorView> GetGradeViewGrid(ConfiguretView configuretView, Guid? collegeID, int? standardID, int pageIndex, int pageSize);
  90. /// <summary>
  91. /// 查询年级专业中的年级信息List(去重)
  92. /// </summary>
  93. /// <param name="configuretView"></param>
  94. /// <param name="collegeID"></param>
  95. /// <param name="standardID"></param>
  96. /// <returns></returns>
  97. IList<GrademajorView> GetGradeViewList(ConfiguretView configuretView, Guid? collegeID, int? standardID);
  98. /// <summary>
  99. /// 查询对应的年级专业信息CF_Grademajor
  100. /// </summary>
  101. /// <param name="grademajorID"></param>
  102. /// <returns></returns>
  103. CF_Grademajor GetGrademajorInfo(Guid? grademajorID);
  104. /// <summary>
  105. /// 查询对应的年级专业信息GrademajorView
  106. /// </summary>
  107. /// <param name="grademajorID"></param>
  108. /// <returns></returns>
  109. GrademajorView GetGrademajorView(Guid? grademajorID);
  110. /// <summary>
  111. /// 查询对应的年级专业信息List
  112. /// </summary>
  113. /// <param name="collegeID"></param>
  114. /// <param name="gradeID"></param>
  115. /// <returns></returns>
  116. IList<GrademajorView> GetGrademajorViewList(Guid? collegeID, int? gradeID);
  117. /// <summary>
  118. /// 编辑(新增、修改,业务主键:年级专业编号或年级专业名称唯一)
  119. /// </summary>
  120. /// <param name="grademajorView"></param>
  121. void GrademajorEdit(GrademajorView grademajorView);
  122. /// <summary>
  123. /// 批量新增
  124. /// </summary>
  125. /// <param name="grademajorView"></param>
  126. /// <returns></returns>
  127. int GrademajorBatchAdd(GrademajorView grademajorView);
  128. /// <summary>
  129. /// 删除
  130. /// </summary>
  131. /// <param name="grademajorIDList"></param>
  132. /// <returns></returns>
  133. bool GrademajorDelete(List<Guid?> grademajorIDList);
  134. /// <summary>
  135. /// 查询年级专业对应的班级信息ClassmajorView(带对应的在校状态学生人数)
  136. /// </summary>
  137. /// <param name="configuretView"></param>
  138. /// <param name="grademajorID"></param>
  139. /// <param name="inSchoolStatus"></param>
  140. /// <param name="pageIndex"></param>
  141. /// <param name="pageSize"></param>
  142. /// <returns></returns>
  143. IGridResultSet<ClassmajorView> GetClassmajorViewGrid(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus, int pageIndex, int pageSize);
  144. /// <summary>
  145. /// 查询年级专业对应的班级信息List(带对应的在校状态学生人数)
  146. /// </summary>
  147. /// <param name="configuretView"></param>
  148. /// <param name="grademajorID"></param>
  149. /// <param name="inSchoolStatus"></param>
  150. /// <returns></returns>
  151. IList<ClassmajorView> GetClassmajorViewList(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus);
  152. /// <summary>
  153. /// 查询年级专业对应的学生信息BaseStudentView
  154. /// </summary>
  155. /// <param name="configuretView"></param>
  156. /// <param name="grademajorID"></param>
  157. /// <param name="inSchoolStatus"></param>
  158. /// <param name="pageIndex"></param>
  159. /// <param name="pageSize"></param>
  160. /// <returns></returns>
  161. IGridResultSet<StudentBaseView> GetStudentBaseViewGrid(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus, int pageIndex, int pageSize);
  162. /// <summary>
  163. /// 查询年级专业对应的学生信息BaseStudentView
  164. /// </summary>
  165. /// <param name="configuretView"></param>
  166. /// <param name="grademajorID"></param>
  167. /// <param name="inSchoolStatus"></param>
  168. /// <returns></returns>
  169. IList<StudentBaseView> GetStudentBaseViewList(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus);
  170. /// <summary>
  171. /// 批量修改(重写)
  172. /// </summary>
  173. /// <param name="grademajorIDs"></param>
  174. /// <param name="schoolyearID"></param>
  175. /// <param name="schoolcodeID"></param>
  176. /// <returns></returns>
  177. string BatchModify(string grademajorIDs, int? gradeID, int? semesterID);
  178. /// <summary>
  179. /// 年级专业信息Excel导入
  180. /// </summary>
  181. /// <param name="cellheader"></param>
  182. /// <param name="inCount"></param>
  183. /// <param name="upCount"></param>
  184. /// <param name="errdataList"></param>
  185. /// <param name="errCount"></param>
  186. /// <param name="sourcePhysicalPath"></param>
  187. void GrademajorImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<GrademajorView> errdataList, out int? errCount, string sourcePhysicalPath);
  188. }
  189. }