ICoursematerialServices.cs 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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.ViewModel.Cultureplan;
  7. using EMIS.ViewModel;
  8. using EMIS.Entities;
  9. namespace EMIS.CommonLogic.Cultureplan
  10. {
  11. public interface ICoursematerialServices
  12. {
  13. /// <summary>
  14. /// 查询课程信息CoursematerialView
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="courseLevelID"></param>
  18. /// <param name="courseScienceID"></param>
  19. /// <param name="classGroupingID"></param>
  20. /// <param name="isEnable"></param>
  21. /// <param name="pageIndex"></param>
  22. /// <param name="pageSize"></param>
  23. /// <returns></returns>
  24. IGridResultSet<CoursematerialView> GetCoursematerialViewGrid(ConfiguretView configuretView, int? courseLevelID, int? courseScienceID,
  25. Guid? classGroupingID, int? isEnable, int pageIndex, int pageSize);
  26. /// <summary>
  27. /// 查询课程信息List
  28. /// </summary>
  29. /// <param name="configuretView"></param>
  30. /// <param name="courseLevelID"></param>
  31. /// <param name="courseScienceID"></param>
  32. /// <param name="classGroupingID"></param>
  33. /// <param name="isEnable"></param>
  34. /// <returns></returns>
  35. IList<CoursematerialView> GetCoursematerialViewList(ConfiguretView configuretView, int? courseLevelID, int? courseScienceID,
  36. Guid? classGroupingID, int? isEnable);
  37. /// <summary>
  38. /// 查询课程信息CoursematerialView(启用状态为是或已使用的信息)
  39. /// </summary>
  40. /// <param name="configuretView"></param>
  41. /// <param name="coursematerialID"></param>
  42. /// <param name="isEnable"></param>
  43. /// <param name="pageIndex"></param>
  44. /// <param name="pageSize"></param>
  45. /// <returns></returns>
  46. IGridResultSet<CoursematerialView> GetEnableAndUseCoursematerialViewGrid(ConfiguretView configuretView, Guid? coursematerialID,
  47. int? isEnable, int pageIndex, int pageSize);
  48. /// <summary>
  49. /// 查询课程信息List(启用状态为是或已使用的信息)
  50. /// </summary>
  51. /// <param name="configuretView"></param>
  52. /// <param name="coursematerialID"></param>
  53. /// <param name="isEnable"></param>
  54. /// <returns></returns>
  55. IList<CoursematerialView> GetEnableAndUseCoursematerialViewList(ConfiguretView configuretView, Guid? coursematerialID, int? isEnable);
  56. /// <summary>
  57. /// 查询对应的课程信息CoursematerialView
  58. /// </summary>
  59. /// <param name="coursematerialID"></param>
  60. /// <returns></returns>
  61. CoursematerialView GetCoursematerialView(Guid? coursematerialID);
  62. /// <summary>
  63. /// 编辑(新增、修改)
  64. /// 注:个性化配置(课程名称重复,默认课程代码或课程名称唯一)
  65. /// </summary>
  66. /// <param name="coursematerialView"></param>
  67. void CoursematerialEdit(CoursematerialView coursematerialView);
  68. /// <summary>
  69. /// 删除
  70. /// </summary>
  71. /// <param name="coursematerialIDs">课程资料ID</param>
  72. /// <returns></returns>
  73. bool CoursematerialDelete(List<Guid?> coursematerialIDs);
  74. /// <summary>
  75. /// 课程信息导入(个性化配置-课程名称重复)
  76. /// 注:默认课程代码或课程名称唯一
  77. /// </summary>
  78. /// <param name="cellheader"></param>
  79. /// <param name="inCount"></param>
  80. /// <param name="upCount"></param>
  81. /// <param name="errdataList"></param>
  82. /// <param name="errCount"></param>
  83. /// <param name="sourcePhysicalPath"></param>
  84. void CoursematerialImport(Dictionary<string, string> cellheader, out int? inCount, out int? upCount, out List<CoursematerialView> errdataList, out int? errCount, string sourcePhysicalPath);
  85. }
  86. }