ICollegeServices.cs 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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.AdministrativeOrgan;
  9. using EMIS.ViewModel.UniversityManage.SpecialtyClassManage;
  10. using EMIS.ViewModel.UniversityManage.TeacherManage;
  11. namespace EMIS.CommonLogic.UniversityManage.AdministrativeOrgan
  12. {
  13. public interface ICollegeServices
  14. {
  15. /// <summary>
  16. /// 查询院系所信息View
  17. /// </summary>
  18. /// <param name="configuretView"></param>
  19. /// <param name="campusID"></param>
  20. /// <param name="unitCategoryID"></param>
  21. /// <param name="pageIndex"></param>
  22. /// <param name="pageSize"></param>
  23. /// <returns></returns>
  24. IGridResultSet<CollegeView> GetCollegeViewGrid(ConfiguretView configuretView, Guid? campusID, int? unitCategoryID, int pageIndex, int pageSize);
  25. /// <summary>
  26. /// 查询院系所信息List
  27. /// </summary>
  28. /// <param name="configuretView"></param>
  29. /// <param name="campusID"></param>
  30. /// <param name="unitCategoryID"></param>
  31. /// <returns></returns>
  32. IList<CollegeView> GetCollegeViewList(ConfiguretView configuretView, Guid? campusID, int? unitCategoryID);
  33. /// <summary>
  34. /// 查询院系所信息View(只显示院、系、部类别的院系所)
  35. /// </summary>
  36. /// <param name="configuretView"></param>
  37. /// <param name="campusID"></param>
  38. /// <param name="pageIndex"></param>
  39. /// <param name="pageSize"></param>
  40. /// <returns></returns>
  41. IGridResultSet<CollegeView> GetOnlyCollegeViewList(ConfiguretView configuretView, Guid? campusID, int pageIndex, int pageSize);
  42. /// <summary>
  43. /// 查询院系所信息View(无数据范围)
  44. /// </summary>
  45. /// <param name="configuretView"></param>
  46. /// <param name="campusID"></param>
  47. /// <param name="pageIndex"></param>
  48. /// <param name="pageSize"></param>
  49. /// <returns></returns>
  50. IGridResultSet<CollegeView> GetCollegeViewWithoutRange(ConfiguretView configuretView, Guid? campusID, int pageIndex, int pageSize);
  51. /// <summary>
  52. /// 根据校区信息ID查询对应的院系所信息CF_College(带数据范围)
  53. /// </summary>
  54. /// <param name="campusID"></param>
  55. /// <returns></returns>
  56. List<CF_College> GetCollegeList(Guid? campusID);
  57. /// <summary>
  58. /// 根据校区信息ID查询对应的院系所信息CF_College(无数据范围)
  59. /// </summary>
  60. /// <param name="campusID"></param>
  61. /// <returns></returns>
  62. List<CF_College> GetAllCollegeList(Guid? campusID);
  63. /// <summary>
  64. /// 查询全部院系所信息CollegeView(带数据范围)
  65. /// </summary>
  66. /// <returns></returns>
  67. List<CollegeView> GetCollegeList();
  68. /// <summary>
  69. /// 查询全部院系所信息CollegeView(只显示院、系、部类别的院系所,带数据范围)
  70. /// </summary>
  71. /// <returns></returns>
  72. List<CollegeView> GetOnlyCollegeList();
  73. /// <summary>
  74. /// 查询全部院系所信息CollegeView(无数据范围)
  75. /// </summary>
  76. /// <returns></returns>
  77. List<CollegeView> GetCollegeViewListWithoutDataRange();
  78. /// <summary>
  79. /// 查询对应的院系所信息CF_College
  80. /// </summary>
  81. /// <param name="collegeID"></param>
  82. /// <returns></returns>
  83. CF_College GetCollegeInfo(Guid? collegeID);
  84. /// <summary>
  85. /// 查询对应的院系所信息CollegeView
  86. /// </summary>
  87. /// <param name="collegeID"></param>
  88. /// <returns></returns>
  89. CollegeView GetCollegeView(Guid? collegeID);
  90. /// <summary>
  91. /// 编辑(新增、修改,业务主键:院系所代码或院系所名称)
  92. /// </summary>
  93. /// <param name="collegeView"></param>
  94. void CollegeEdit(CollegeView collegeView);
  95. /// <summary>
  96. /// 删除
  97. /// </summary>
  98. /// <param name="collegeIDList"></param>
  99. /// <returns></returns>
  100. bool CollegeDelete(List<Guid?> collegeIDList);
  101. /// <summary>
  102. /// 查询院系所对应的教研室信息DepartmentView
  103. /// </summary>
  104. /// <param name="configuretView"></param>
  105. /// <param name="collegeID"></param>
  106. /// <param name="pageIndex"></param>
  107. /// <param name="pageSize"></param>
  108. /// <returns></returns>
  109. IGridResultSet<DepartmentView> GetDepartmentListViewGrid(ConfiguretView configuretView, Guid? collegeID, int pageIndex, int pageSize);
  110. /// <summary>
  111. /// 查询院系所对应的教研室信息List
  112. /// </summary>
  113. /// <param name="configuretView"></param>
  114. /// <param name="collegeID"></param>
  115. /// <returns></returns>
  116. IList<DepartmentView> GetDepartmentListViewList(ConfiguretView configuretView, Guid? collegeID);
  117. /// <summary>
  118. /// 查询院系所对应的教师信息StaffView
  119. /// </summary>
  120. /// <param name="configuretView"></param>
  121. /// <param name="collegeID"></param>
  122. /// <param name="departmentID"></param>
  123. /// <param name="isPhoto"></param>
  124. /// <param name="teacherTypeID"></param>
  125. /// <param name="incumbencyState"></param>
  126. /// <param name="titleID"></param>
  127. /// <param name="isDualTeacher"></param>
  128. /// <param name="pageIndex"></param>
  129. /// <param name="pageSize"></param>
  130. /// <returns></returns>
  131. IGridResultSet<StaffView> GetStaffListViewGrid(ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher, int pageIndex, int pageSize);
  132. /// <summary>
  133. /// 查询院系所对应的教师信息List
  134. /// </summary>
  135. /// <param name="configuretView"></param>
  136. /// <param name="collegeID"></param>
  137. /// <param name="departmentID"></param>
  138. /// <param name="isPhoto"></param>
  139. /// <param name="teacherTypeID"></param>
  140. /// <param name="incumbencyState"></param>
  141. /// <param name="titleID"></param>
  142. /// <param name="isDualTeacher"></param>
  143. /// <returns></returns>
  144. IList<StaffView> GetStaffListViewList(ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, int? isPhoto, int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher);
  145. /// <summary>
  146. /// 查询院系所对应的院系专业信息FacultymajorView
  147. /// </summary>
  148. /// <param name="configuretView"></param>
  149. /// <param name="collegeID"></param>
  150. /// <param name="standardID"></param>
  151. /// <param name="educationID"></param>
  152. /// <param name="learningformID"></param>
  153. /// <param name="learnSystem"></param>
  154. /// <param name="scienceclassID"></param>
  155. /// <param name="inSchoolStatus"></param>
  156. /// <param name="pageIndex"></param>
  157. /// <param name="pageSize"></param>
  158. /// <returns></returns>
  159. IGridResultSet<FacultymajorView> GetFacultymajorListViewGrid(ConfiguretView configuretView, Guid? collegeID, int? standardID, int? educationID, int? learningformID,
  160. string learnSystem, int? scienceclassID, int? inSchoolStatus, int pageIndex, int pageSize);
  161. /// <summary>
  162. /// 查询院系所对应的院系专业信息List
  163. /// </summary>
  164. /// <param name="configuretView"></param>
  165. /// <param name="collegeID"></param>
  166. /// <param name="standardID"></param>
  167. /// <param name="educationID"></param>
  168. /// <param name="learningformID"></param>
  169. /// <param name="learnSystem"></param>
  170. /// <param name="scienceclassID"></param>
  171. /// <param name="inSchoolStatus"></param>
  172. /// <returns></returns>
  173. IList<FacultymajorView> GetFacultymajorListViewList(ConfiguretView configuretView, Guid? collegeID, int? standardID, int? educationID, int? learningformID,
  174. string learnSystem, int? scienceclassID, int? inSchoolStatus);
  175. /// <summary>
  176. /// 院系所信息Excel导入
  177. /// </summary>
  178. /// <param name="cellheader"></param>
  179. /// <param name="inCount"></param>
  180. /// <param name="upCount"></param>
  181. /// <param name="errdataList"></param>
  182. /// <param name="errCount"></param>
  183. /// <param name="sourcePhysicalPath"></param>
  184. void CollegeImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<CollegeView> errdataList, out int? errCount, string sourcePhysicalPath);
  185. }
  186. }