ITeachingMaterialPoolServices.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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;
  7. using EMIS.ViewModel.TeachingMaterial;
  8. using System.Data;
  9. using EMIS.Entities;
  10. using EMIS.ViewModel.Cultureplan;
  11. namespace EMIS.CommonLogic.TeachingMaterial
  12. {
  13. public interface ITeachingMaterialPoolServices
  14. {
  15. /// <summary>
  16. /// 获取书库信息列表
  17. /// </summary>
  18. /// <param name="exp"></param>
  19. /// <returns></returns>
  20. IGridResultSet<TeachingMaterialPoolView> GetTeachingMaterialPoolViewGrid(ConfiguretView configuretView, Guid? publishID, Guid? coursematerialID, bool? isLate, int? teachingMaterialType, int pageIndex, int pageSize);
  21. /// <summary>
  22. /// 编辑书库
  23. /// </summary>
  24. /// <param name="publisherView"></param>
  25. void EditTeachingMaterialPool(TeachingMaterialPoolView TeachingMaterialPoolView, Guid createUserID, IList<CoursematerialView> coursematerialList);
  26. /// <summary>
  27. /// 编辑教材库存
  28. /// </summary>
  29. /// <param name="TeachingMaterialPoolView"></param>
  30. /// <param name="createUserID"></param>
  31. void EditTeachingMateriaInventory(TeachingMaterialPoolView TeachingMaterialPoolView, Guid createUserID);
  32. /// <summary>
  33. /// 删除出版单位信息
  34. /// </summary>
  35. /// <param name="publishID"></param>
  36. void DeleteTeachingMaterialPool(List<Guid> TeachingMaterialPoolIDs);
  37. /// <summary>
  38. /// 获取书库单位
  39. /// </summary>
  40. /// <returns></returns>
  41. TeachingMaterialPoolView GetSingleTeachingMaterialPool(Guid TeachingMaterialPoolID);
  42. /// <summary>
  43. /// 获取书库信息列表导出
  44. /// </summary>
  45. /// <param name="exp"></param>
  46. /// <returns></returns>
  47. IList<TeachingMaterialPoolView> GetTeachingMaterialPoolViewExcel(ConfiguretView configuretView, Guid? publishID, Guid? coursematerialID, bool? isLate, int? teachingMaterialType);
  48. List<CoursematerialView> GetTeachingMaterialCoursematerialList(Guid? teachingMaterialPoolID);
  49. /// <summary>
  50. /// 获取教材总库信息列表(用于学生征订)
  51. /// </summary>
  52. /// <param name="exp"></param>
  53. /// <returns></returns>
  54. IGridResultSet<TeachingMaterialPoolView> GetTeachingMaterialPoolForOrder(ConfiguretView configuretView, Guid? publishID, string isbn, Guid? coursematerialID, string teachingMaterialName, string ischeck, int pageIndex, int pageSize);
  55. /// <summary>
  56. /// 获取学生课程教材列表
  57. /// </summary>
  58. /// <param name="exp"></param>
  59. /// <returns></returns>
  60. IGridResultSet<StudentTeachingMaterialView> GetStudentTeachingMaterialViewGrid(ConfiguretView configuretView, int pageIndex, int pageSize);
  61. IList<StudentTeachingMaterialView> GetStudentTeachingMaterialViewList(ConfiguretView configuretView);
  62. //验证编号是否存在
  63. bool IsExistCode(string code);
  64. //验证ISBN是否存在
  65. bool IsExistISBN(string ISBN);
  66. /// <summary>
  67. /// 教材信息导入
  68. /// </summary>
  69. /// <param name="dataList">导入的数据集合</param>
  70. /// <param name="errdataList">返回的操作失败集合</param>
  71. /// <param name="successCount">操作成功记录条数</param>
  72. /// <returns></returns>
  73. void TeachingMaterialPoolImport(Dictionary<string, string> cellheader, out int OkCount, out List<TeachingMaterialPoolImportView> errdataList, out int successCount, string sourcePhysicalPath);
  74. /// <summary>
  75. /// 获取教材最大的编号+1之后返回
  76. /// </summary>
  77. /// <returns></returns>
  78. string GetLastTeachingMaterialCode();
  79. }
  80. }