IBuildingsInfoServices.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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.ClassroomManage;
  9. namespace EMIS.CommonLogic.UniversityManage.ClassroomManage
  10. {
  11. public interface IBuildingsInfoServices
  12. {
  13. /// <summary>
  14. /// 查询对应的建筑信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="campusID"></param>
  18. /// <param name="collegeID"></param>
  19. /// <param name="buildingsTypeID"></param>
  20. /// <param name="isSpecial"></param>
  21. /// <param name="pageIndex"></param>
  22. /// <param name="pageSize"></param>
  23. /// <returns></returns>
  24. IGridResultSet<BuildingsInfoView> GetBuildingsInfoViewGrid(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? buildingsTypeID, int? isSpecial, int pageIndex, int pageSize);
  25. /// <summary>
  26. /// 查询对应的建筑信息List
  27. /// </summary>
  28. /// <param name="configuretView"></param>
  29. /// <param name="campusID"></param>
  30. /// <param name="collegeID"></param>
  31. /// <param name="buildingsTypeID"></param>
  32. /// <param name="isSpecial"></param>
  33. /// <returns></returns>
  34. IList<BuildingsInfoView> GetBuildingsInfoViewList(ConfiguretView configuretView, Guid? campusID, Guid? collegeID, int? buildingsTypeID, int? isSpecial);
  35. /// <summary>
  36. /// 查询对应的建筑信息CF_BuildingsInfo
  37. /// </summary>
  38. /// <param name="buildingsInfoID"></param>
  39. /// <returns></returns>
  40. CF_BuildingsInfo GetBuildingsInfo(Guid? buildingsInfoID);
  41. /// <summary>
  42. /// 查询对应的建筑信息BuildingsInfoView
  43. /// </summary>
  44. /// <param name="buildingsInfoID"></param>
  45. /// <returns></returns>
  46. BuildingsInfoView GetBuildingsInfoView(Guid? buildingsInfoID);
  47. /// <summary>
  48. /// 编辑(新增、修改,业务主键:建筑编号唯一)
  49. /// </summary>
  50. /// <param name="buildingsInfoView"></param>
  51. void BuildingsInfoEdit(BuildingsInfoView buildingsInfoView);
  52. /// <summary>
  53. /// 删除
  54. /// </summary>
  55. /// <param name="buildingsInfoIDList"></param>
  56. /// <returns></returns>
  57. bool BuildingsInfoDelete(List<Guid?> buildingsInfoIDList);
  58. /// <summary>
  59. /// 查询建筑信息中对应的教室信息View(关联排课中教室预留信息、统计排课分配的院系个数)
  60. /// </summary>
  61. /// <param name="configuretView"></param>
  62. /// <param name="buildingsInfoID"></param>
  63. /// <param name="classroomName"></param>
  64. /// <param name="classroomTypeID"></param>
  65. /// <param name="collegeID"></param>
  66. /// <param name="isConcurrentUse"></param>
  67. /// <param name="isReserve"></param>
  68. /// <param name="isAvailable"></param>
  69. /// <param name="pageIndex"></param>
  70. /// <param name="pageSize"></param>
  71. /// <returns></returns>
  72. IGridResultSet<ClassroomView> GetClassroomViewGrid(ConfiguretView configuretView, Guid? buildingsInfoID, string classroomName, int? classroomTypeID, Guid? collegeID,
  73. int? isConcurrentUse, int? isReserve, int? isAvailable, int pageIndex, int pageSize);
  74. /// <summary>
  75. /// 查询建筑信息中对应的教室信息List(关联排课中教室预留信息、统计排课分配的院系个数)
  76. /// </summary>
  77. /// <param name="configuretView"></param>
  78. /// <param name="buildingsInfoID"></param>
  79. /// <param name="classroomName"></param>
  80. /// <param name="classroomTypeID"></param>
  81. /// <param name="collegeID"></param>
  82. /// <param name="isConcurrentUse"></param>
  83. /// <param name="isReserve"></param>
  84. /// <param name="isAvailable"></param>
  85. /// <returns></returns>
  86. IList<ClassroomView> GetClassroomViewList(ConfiguretView configuretView, Guid? buildingsInfoID, string classroomName, int? classroomTypeID, Guid? collegeID,
  87. int? isConcurrentUse, int? isReserve, int? isAvailable);
  88. /// <summary>
  89. /// Excel建筑信息导入
  90. /// </summary>
  91. /// <param name="cellheader"></param>
  92. /// <param name="inCount"></param>
  93. /// <param name="upCount"></param>
  94. /// <param name="errdataList"></param>
  95. /// <param name="errCount"></param>
  96. /// <param name="sourcePhysicalPath"></param>
  97. void BuildingsInfoImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<BuildingsInfoView> errdataList, out int? errCount, string sourcePhysicalPath);
  98. }
  99. }