IGrademajorServices.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using EMIS.ViewModel.Specialtyclass;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. using EMIS.ViewModel.Students;
  10. using EMIS.ViewModel.UniversityInformationManage.Specialtyclass;
  11. namespace EMIS.CommonLogic.Specialtyclass
  12. {
  13. public interface IGrademajorServices
  14. {
  15. /// <summary>
  16. /// 查询对应的年级专业信息GrademajorView
  17. /// </summary>
  18. /// <param name="configuretView"></param>
  19. /// <param name="campusID"></param>
  20. /// <param name="collegeID"></param>
  21. /// <param name="schoolyearID"></param>
  22. /// <param name="standardID"></param>
  23. /// <param name="educationID"></param>
  24. /// <param name="learningformID"></param>
  25. /// <param name="learnSystem"></param>
  26. /// <param name="inSchoolStatus"></param>
  27. /// <param name="pageIndex"></param>
  28. /// <param name="pageSize"></param>
  29. /// <returns></returns>
  30. IGridResultSet<GrademajorView> GetGrademajorViewGrid(ConfiguretView configuretView, int? schoolAreaID, Guid? collegeID,
  31. int? schoolyearID, int? standardID, int? educationID, int? learningformID, string learnSystem,
  32. int? inSchoolStatus, int pageIndex, int pageSize);
  33. /// <summary>
  34. /// 查询年级专业对应的标准专业信息
  35. /// </summary>
  36. /// <param name="configuretView"></param>
  37. /// <param name="campusID"></param>
  38. /// <param name="collegeID"></param>
  39. /// <param name="schoolyearID"></param>
  40. /// <param name="standardID"></param>
  41. /// <param name="educationID"></param>
  42. /// <param name="learningformID"></param>
  43. /// <param name="learnSystem"></param>
  44. /// <param name="inSchoolStatus"></param>
  45. /// <param name="pageIndex"></param>
  46. /// <param name="pageSize"></param>
  47. /// <returns></returns>
  48. IGridResultSet<StandardView> GetGradeStandardViewGrid(ConfiguretView configuretView, int? schoolAreaID, Guid? collegeID,
  49. int? schoolyearID, int? standardID, int? educationID, int? learningformID, string learnSystem,
  50. int? inSchoolStatus, int pageIndex, int pageSize);
  51. /// <summary>
  52. /// 通过年级专业查询对应的标准专业
  53. /// </summary>
  54. /// <param name="configuretView"></param>
  55. /// <param name="schoolAreaID"></param>
  56. /// <param name="collegeID"></param>
  57. /// <param name="schoolyearID"></param>
  58. /// <param name="standardID"></param>
  59. /// <param name="educationID"></param>
  60. /// <param name="learningformID"></param>
  61. /// <param name="learnSystem"></param>
  62. /// <param name="inSchoolStatus"></param>
  63. /// <param name="pageIndex"></param>
  64. /// <param name="pageSize"></param>
  65. /// <returns></returns>
  66. IGridResultSet<ExamProjectControlView> GetSchoolyearStandardViewGrid(ConfiguretView configuretView, int? schoolAreaID, Guid? collegeID,
  67. int? schoolyearID, int? standardID, int? educationID, int? learningformID, string learnSystem,
  68. int? inSchoolStatus, int pageIndex, int pageSize);
  69. /// <summary>
  70. /// 查询对应的年级专业信息List
  71. /// </summary>
  72. /// <param name="configuretView"></param>
  73. /// <param name="campusID"></param>
  74. /// <param name="collegeID"></param>
  75. /// <param name="schoolyearID"></param>
  76. /// <param name="standardID"></param>
  77. /// <param name="educationID"></param>
  78. /// <param name="learningformID"></param>
  79. /// <param name="learnSystem"></param>
  80. /// <param name="inSchoolStatus"></param>
  81. /// <returns></returns>
  82. IList<GrademajorView> GetGrademajorViewList(ConfiguretView configuretView, int? schoolAreaID, Guid? collegeID,
  83. int? schoolyearID, int? standardID, int? educationID, int? learningformID, string learnSystem, int? inSchoolStatus);
  84. /// <summary>
  85. /// 查询对应的年级专业信息GrademajorView(无数据范围)
  86. /// </summary>
  87. /// <param name="configuretView"></param>
  88. /// <param name="campusID"></param>
  89. /// <param name="collegeID"></param>
  90. /// <param name="schoolyearID"></param>
  91. /// <param name="standardID"></param>
  92. /// <param name="educationID"></param>
  93. /// <param name="learningformID"></param>
  94. /// <param name="learnSystem"></param>
  95. /// <param name="pageIndex"></param>
  96. /// <param name="pageSize"></param>
  97. /// <returns></returns>
  98. IGridResultSet<GrademajorView> GetGrademajorViewGridWithoutRange(ConfiguretView configuretView, int? schoolAreaID,
  99. Guid? collegeID, int? schoolyearID, int? standardID, int? educationID, int? learningformID,
  100. string learnSystem, int pageIndex, int pageSize);
  101. /// <summary>
  102. /// 查询对应的年级专业信息List(带数据范围)
  103. /// </summary>
  104. /// <param name="configuretView"></param>
  105. /// <param name="collegeID"></param>
  106. /// <param name="schoolyearID"></param>
  107. /// <returns></returns>
  108. IList<GrademajorView> GetGrademajorViewList(ConfiguretView configuretView, Guid? collegeID, int? schoolyearID);
  109. /// <summary>
  110. /// 查询年级专业中的专业信息StandardView(无数据范围)
  111. /// </summary>
  112. /// <param name="configuretView"></param>
  113. /// <param name="collegeID"></param>
  114. /// <param name="schoolyearID"></param>
  115. /// <param name="pageIndex"></param>
  116. /// <param name="pageSize"></param>
  117. /// <returns></returns>
  118. IGridResultSet<StandardView> GetStandardViewGrid(ConfiguretView configuretView, int? schoolAreaID, Guid? collegeID,
  119. int? schoolyearID, int pageIndex, int pageSize);
  120. /// <summary>
  121. /// 查询年级专业中的专业信息List(无数据范围)
  122. /// </summary>
  123. /// <param name="configuretView"></param>
  124. /// <param name="collegeID"></param>
  125. /// <param name="schoolyearID"></param>
  126. /// <returns></returns>
  127. IList<StandardView> GetStandardViewList(ConfiguretView configuretView, Guid? collegeID, int? schoolyearID);
  128. /// <summary>
  129. /// 查询年级专业中的专业信息List(无数据范围且排除在校生为0人的数据)
  130. /// </summary>
  131. /// <param name="configuretView"></param>
  132. /// <param name="collegeID"></param>
  133. /// <param name="schoolyearID"></param>
  134. /// <returns></returns>
  135. IList<GrademajorView> GetStandardQueryableExcludeNotHaveStudentList(ConfiguretView configuretView, Guid? collegeID, int? schoolyearID);
  136. /// <summary>
  137. /// 查询年级专业中的年级信息SchoolyearView(无数据范围)
  138. /// </summary>
  139. /// <param name="configuretView"></param>
  140. /// <param name="collegeID"></param>
  141. /// <param name="standardID"></param>
  142. /// <param name="pageIndex"></param>
  143. /// <param name="pageSize"></param>
  144. /// <returns></returns>
  145. IGridResultSet<SchoolyearView> GetSchoolyearViewGrid(ConfiguretView configuretView,
  146. Guid? collegeID, int? standardID, int pageIndex, int pageSize);
  147. /// <summary>
  148. /// 查询年级专业中的年级信息List(无数据范围)
  149. /// </summary>
  150. /// <param name="configuretView"></param>
  151. /// <param name="collegeID"></param>
  152. /// <param name="standardID"></param>
  153. /// <returns></returns>
  154. IList<SchoolyearView> GetSchoolyearViewGrid(ConfiguretView configuretView,
  155. Guid? collegeID, int? standardID);
  156. /// <summary>
  157. /// 查询对应的年级专业信息CF_Grademajor
  158. /// </summary>
  159. /// <param name="grademajorID"></param>
  160. /// <returns></returns>
  161. CF_Grademajor GetGrademajorInfo(Guid? grademajorID);
  162. /// <summary>
  163. /// 查询对应的年级专业信息GrademajorView
  164. /// </summary>
  165. /// <param name="grademajorID"></param>
  166. /// <returns></returns>
  167. GrademajorView GetGrademajorView(Guid? grademajorID);
  168. /// <summary>
  169. /// 编辑(新增、修改,业务主键:年级专业编号或年级专业名称唯一)
  170. /// </summary>
  171. /// <param name="grademajorView"></param>
  172. void GrademajorEdit(GrademajorView grademajorView);
  173. /// <summary>
  174. /// 批量新增
  175. /// </summary>
  176. /// <param name="grademajorView"></param>
  177. /// <returns></returns>
  178. int GrademajorBatchAdd(GrademajorView grademajorView);
  179. /// <summary>
  180. /// 删除
  181. /// </summary>
  182. /// <param name="grademajorIDList"></param>
  183. /// <returns></returns>
  184. bool GrademajorDelete(List<Guid?> grademajorIDList);
  185. /// <summary>
  186. /// 查询年级专业对应的班级信息ClassmajorView(带对应的在校状态学生人数)
  187. /// </summary>
  188. /// <param name="configuretView"></param>
  189. /// <param name="grademajorID"></param>
  190. /// <param name="inSchoolStatus"></param>
  191. /// <param name="pageIndex"></param>
  192. /// <param name="pageSize"></param>
  193. /// <returns></returns>
  194. IGridResultSet<ClassmajorView> GetClassmajorViewGrid(ConfiguretView configuretView, Guid? grademajorID,
  195. int? inSchoolStatus, int pageIndex, int pageSize);
  196. /// <summary>
  197. /// 查询年级专业对应的班级信息List(带对应的在校状态学生人数)
  198. /// </summary>
  199. /// <param name="configuretView"></param>
  200. /// <param name="grademajorID"></param>
  201. /// <param name="inSchoolStatus"></param>
  202. /// <returns></returns>
  203. IList<ClassmajorView> GetClassmajorViewList(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus);
  204. /// <summary>
  205. /// 查询年级专业对应的学生信息BaseStudentView
  206. /// </summary>
  207. /// <param name="configuretView"></param>
  208. /// <param name="grademajorID"></param>
  209. /// <param name="inSchoolStatus"></param>
  210. /// <param name="pageIndex"></param>
  211. /// <param name="pageSize"></param>
  212. /// <returns></returns>
  213. IGridResultSet<BaseStudentView> GetBaseStudentViewGrid(ConfiguretView configuretView, Guid? grademajorID,
  214. int? inSchoolStatus, int pageIndex, int pageSize);
  215. /// <summary>
  216. /// 查询年级专业对应的学生信息BaseStudentView
  217. /// </summary>
  218. /// <param name="configuretView"></param>
  219. /// <param name="grademajorID"></param>
  220. /// <param name="inSchoolStatus"></param>
  221. /// <returns></returns>
  222. IList<BaseStudentView> GetBaseStudentViewList(ConfiguretView configuretView, Guid? grademajorID, int? inSchoolStatus);
  223. /// <summary>
  224. /// 批量修改(重写)
  225. /// </summary>
  226. /// <param name="grademajorIDs"></param>
  227. /// <param name="schoolyearID"></param>
  228. /// <param name="schoolcodeID"></param>
  229. /// <returns></returns>
  230. string BatchModify(string grademajorIDs, int? schoolyearID, int? schoolcodeID);
  231. /// <summary>
  232. /// 年级专业信息Excel导入
  233. /// </summary>
  234. /// <param name="cellheader"></param>
  235. /// <param name="inCount"></param>
  236. /// <param name="upCount"></param>
  237. /// <param name="errdataList"></param>
  238. /// <param name="errCount"></param>
  239. /// <param name="sourcePhysicalPath"></param>
  240. void GrademajorImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<GrademajorView> errdataList, out int? errCount, string sourcePhysicalPath);
  241. }
  242. }