ICampusServices.cs 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. namespace EMIS.CommonLogic.UniversityManage.AdministrativeOrgan
  10. {
  11. public interface ICampusServices
  12. {
  13. /// <summary>
  14. /// 查询校区信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="pageIndex"></param>
  18. /// <param name="pageSize"></param>
  19. /// <returns></returns>
  20. IGridResultSet<CampusView> GetCampusViewGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
  21. /// <summary>
  22. /// 查询校区信息List
  23. /// </summary>
  24. /// <param name="configuretView"></param>
  25. /// <returns></returns>
  26. IList<CampusView> GetCampusViewList(ConfiguretView configuretView);
  27. /// <summary>
  28. /// 查询全部校区信息CF_Campus
  29. /// </summary>
  30. /// <returns></returns>
  31. List<CF_Campus> GetCampusList();
  32. /// <summary>
  33. /// 查询全部校区信息CF_Campus(不考虑状态列)
  34. /// </summary>
  35. /// <returns></returns>
  36. List<CF_Campus> GetCampusListWithoutDataRange();
  37. /// <summary>
  38. /// 查询对应的校区信息CampusView
  39. /// </summary>
  40. /// <param name="campusID"></param>
  41. /// <returns></returns>
  42. CampusView GetCampusView(Guid? campusID);
  43. /// <summary>
  44. /// 编辑(新增、修改,业务主键:校区代码或校区名称)
  45. /// </summary>
  46. /// <param name="campusView"></param>
  47. void CampusEdit(CampusView campusView);
  48. /// <summary>
  49. /// 删除
  50. /// </summary>
  51. /// <param name="campusIDList"></param>
  52. /// <returns></returns>
  53. bool CampusDelete(List<Guid?> campusIDList);
  54. /// <summary>
  55. /// 查询校区对应的院系所信息CollegeView
  56. /// </summary>
  57. /// <param name="configuretView"></param>
  58. /// <param name="campusID"></param>
  59. /// <param name="unitCategoryID"></param>
  60. /// <param name="pageIndex"></param>
  61. /// <param name="pageSize"></param>
  62. /// <returns></returns>
  63. IGridResultSet<CollegeView> GetCollegeListViewGrid(ConfiguretView configuretView, Guid? campusID, int? unitCategoryID, int pageIndex, int pageSize);
  64. /// <summary>
  65. /// 查询校区对应的院系所信息List
  66. /// </summary>
  67. /// <param name="configuretView"></param>
  68. /// <param name="campusID"></param>
  69. /// <param name="unitCategoryID"></param>
  70. /// <returns></returns>
  71. IList<CollegeView> GetCollegeListViewList(ConfiguretView configuretView, Guid? campusID, int? unitCategoryID);
  72. }
  73. }