IDepartmentServices.cs 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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.TeacherManage;
  10. namespace EMIS.CommonLogic.UniversityManage.AdministrativeOrgan
  11. {
  12. public interface IDepartmentServices
  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="pageIndex"></param>
  21. /// <param name="pageSize"></param>
  22. /// <returns></returns>
  23. IGridResultSet<DepartmentView> GetDepartmentViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int pageIndex, int pageSize);
  24. /// <summary>
  25. /// 查询部门信息List
  26. /// </summary>
  27. /// <param name="configuretView"></param>
  28. /// <param name="campusID"></param>
  29. /// <param name="collegeID"></param>
  30. /// <returns></returns>
  31. IList<DepartmentView> GetDepartmentViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID);
  32. /// <summary>
  33. /// 查询部门信息View(无数据范围)
  34. /// </summary>
  35. /// <param name="configuretView"></param>
  36. /// <param name="campusID"></param>
  37. /// <param name="collegeID"></param>
  38. /// <param name="pageIndex"></param>
  39. /// <param name="pageSize"></param>
  40. /// <returns></returns>
  41. IGridResultSet<DepartmentView> GetDepartmentViewWithoutRange(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int pageIndex, int pageSize);
  42. /// <summary>
  43. /// 根据院系所信息ID查询对应的部门信息CF_Department(带数据范围)
  44. /// </summary>
  45. /// <param name="collegeID"></param>
  46. /// <returns></returns>
  47. List<CF_Department> GetDepartmentList(Guid? collegeID);
  48. /// <summary>
  49. /// 根据院系所信息ID查询对应的部门信息CF_Department(无数据范围)
  50. /// </summary>
  51. /// <param name="campusID"></param>
  52. /// <returns></returns>
  53. List<CF_Department> GetAllDepartmentList(Guid? collegeID);
  54. /// <summary>
  55. /// 查询全部部门信息DepartmentView(带数据范围)
  56. /// </summary>
  57. /// <returns></returns>
  58. List<DepartmentView> GetDepartmentList();
  59. /// <summary>
  60. /// 查询全部部门信息DepartmentView(无数据范围)
  61. /// </summary>
  62. /// <returns></returns>
  63. List<DepartmentView> GetDepartmentViewListWithoutDataRange();
  64. /// <summary>
  65. /// 查询对应的部门信息CF_Department
  66. /// </summary>
  67. /// <param name="departmentID"></param>
  68. /// <returns></returns>
  69. CF_Department GetDepartmentInfo(Guid? departmentID);
  70. /// <summary>
  71. /// 查询对应的部门信息DepartmentView
  72. /// </summary>
  73. /// <param name="departmentID"></param>
  74. /// <returns></returns>
  75. DepartmentView GetDepartmentView(Guid? departmentID);
  76. /// <summary>
  77. /// 编辑(新增、修改,业务主键:部门代码或部门名称)
  78. /// </summary>
  79. /// <param name="departmentView"></param>
  80. void DepartmentEdit(DepartmentView departmentView);
  81. /// <summary>
  82. /// 删除
  83. /// </summary>
  84. /// <param name="departmentIDList"></param>
  85. /// <returns></returns>
  86. bool DepartmentDelete(List<Guid?> departmentIDList);
  87. /// <summary>
  88. /// 期末、补考设定教研室查询
  89. /// </summary>
  90. /// <param name="ClassmajorID"></param>
  91. /// <param name="CoursematerialID"></param>
  92. /// <returns></returns>
  93. string GetDepartmentListForExamination(Guid? ClassmajorID, Guid? CoursematerialID);
  94. /// <summary>
  95. /// HRService工作流平台
  96. /// </summary>
  97. void SynHRServices();
  98. /// <summary>
  99. /// 查询教研室对应的教师信息StaffView
  100. /// </summary>
  101. /// <param name="configuretView"></param>
  102. /// <param name="collegeID"></param>
  103. /// <param name="departmentID"></param>
  104. /// <param name="isPhoto"></param>
  105. /// <param name="teacherTypeID"></param>
  106. /// <param name="incumbencyState"></param>
  107. /// <param name="titleID"></param>
  108. /// <param name="isDualTeacher"></param>
  109. /// <param name="pageIndex"></param>
  110. /// <param name="pageSize"></param>
  111. /// <returns></returns>
  112. IGridResultSet<StaffView> GetStaffListViewGrid(ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, int? isPhoto,
  113. int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher, int pageIndex, int pageSize);
  114. /// <summary>
  115. /// 查询教研室对应的教师信息List
  116. /// </summary>
  117. /// <param name="configuretView"></param>
  118. /// <param name="collegeID"></param>
  119. /// <param name="departmentID"></param>
  120. /// <param name="isPhoto"></param>
  121. /// <param name="teacherTypeID"></param>
  122. /// <param name="incumbencyState"></param>
  123. /// <param name="titleID"></param>
  124. /// <param name="isDualTeacher"></param>
  125. /// <returns></returns>
  126. IList<StaffView> GetStaffListViewList(ConfiguretView configuretView, Guid? collegeID, Guid? departmentID, int? isPhoto,
  127. int? teacherTypeID, int? incumbencyState, int? titleID, int? isDualTeacher);
  128. /// <summary>
  129. /// 部门信息Excel导入
  130. /// </summary>
  131. /// <param name="cellheader"></param>
  132. /// <param name="inCount"></param>
  133. /// <param name="upCount"></param>
  134. /// <param name="errdataList"></param>
  135. /// <param name="errCount"></param>
  136. /// <param name="sourcePhysicalPath"></param>
  137. void DepartmentImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<DepartmentView> errdataList, out int? errCount, string sourcePhysicalPath);
  138. }
  139. }