IDepartmentServices.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. namespace EMIS.CommonLogic.AdministrativeOrgan
  9. {
  10. public interface IDepartmentServices
  11. {
  12. /// <summary>
  13. /// 查询部门信息View
  14. /// </summary>
  15. /// <param name="configuretView"></param>
  16. /// <param name="campusID"></param>
  17. /// <param name="collegeID"></param>
  18. /// <param name="pageIndex"></param>
  19. /// <param name="pageSize"></param>
  20. /// <returns></returns>
  21. IGridResultSet<DepartmentView> GetDepartmentViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int pageIndex, int pageSize);
  22. /// <summary>
  23. /// 查询部门信息List
  24. /// </summary>
  25. /// <param name="configuretView"></param>
  26. /// <param name="campusID"></param>
  27. /// <param name="collegeID"></param>
  28. /// <returns></returns>
  29. IList<DepartmentView> GetDepartmentViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID);
  30. /// <summary>
  31. /// 查询部门信息View(无数据范围)
  32. /// </summary>
  33. /// <param name="configuretView"></param>
  34. /// <param name="campusID"></param>
  35. /// <param name="collegeID"></param>
  36. /// <param name="pageIndex"></param>
  37. /// <param name="pageSize"></param>
  38. /// <returns></returns>
  39. IGridResultSet<DepartmentView> GetDepartmentViewWithoutRange(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int pageIndex, int pageSize);
  40. /// <summary>
  41. /// 根据院系所信息ID查询对应的部门信息CF_Department(带数据范围)
  42. /// </summary>
  43. /// <param name="collegeID"></param>
  44. /// <returns></returns>
  45. List<CF_Department> GetDepartmentList(Guid? collegeID);
  46. /// <summary>
  47. /// 根据院系所信息ID查询对应的部门信息CF_Department(无数据范围)
  48. /// </summary>
  49. /// <param name="campusID"></param>
  50. /// <returns></returns>
  51. List<CF_Department> GetAllDepartmentList(Guid? collegeID);
  52. /// <summary>
  53. /// 查询全部部门信息DepartmentView(带数据范围)
  54. /// </summary>
  55. /// <returns></returns>
  56. List<DepartmentView> GetDepartmentList();
  57. /// <summary>
  58. /// 查询全部部门信息DepartmentView(无数据范围)
  59. /// </summary>
  60. /// <returns></returns>
  61. List<DepartmentView> GetDepartmentViewListWithoutDataRange();
  62. /// <summary>
  63. /// 查询对应的部门信息CF_Department
  64. /// </summary>
  65. /// <param name="departmentID"></param>
  66. /// <returns></returns>
  67. CF_Department GetDepartmentInfo(Guid? departmentID);
  68. /// <summary>
  69. /// 查询对应的部门信息DepartmentView
  70. /// </summary>
  71. /// <param name="departmentID"></param>
  72. /// <returns></returns>
  73. DepartmentView GetDepartmentView(Guid? departmentID);
  74. /// <summary>
  75. /// 编辑(新增、修改,业务主键:部门代码或部门名称)
  76. /// </summary>
  77. /// <param name="departmentView"></param>
  78. void DepartmentEdit(DepartmentView departmentView);
  79. /// <summary>
  80. /// 删除
  81. /// </summary>
  82. /// <param name="departmentIDList"></param>
  83. /// <returns></returns>
  84. bool DepartmentDelete(List<Guid?> departmentIDList);
  85. /// <summary>
  86. /// 部门信息Excel导入
  87. /// </summary>
  88. /// <param name="cellheader"></param>
  89. /// <param name="inCount"></param>
  90. /// <param name="upCount"></param>
  91. /// <param name="errdataList"></param>
  92. /// <param name="errCount"></param>
  93. /// <param name="sourcePhysicalPath"></param>
  94. void DepartmentImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<DepartmentView> errdataList, out int? errCount, string sourcePhysicalPath);
  95. /// <summary>
  96. /// HRService工作流平台
  97. /// </summary>
  98. void SynHRServices();
  99. }
  100. }