IStudentsOrderServices.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.TeachingMaterial;
  7. namespace EMIS.CommonLogic.TeachingMaterial
  8. {
  9. public interface IStudentsOrderServices
  10. {
  11. /// <summary>
  12. /// 修改征订数量
  13. /// </summary>
  14. /// <param name="teachersOrderList"></param>
  15. /// <param name="preAddedValue"></param>
  16. /// <param name="userId"></param>
  17. void UpdateOrderQty(List<StudentsOrderView> studentsOrderList, int orderQty, Guid userId);
  18. /// <summary>
  19. /// 批量添加增加数量
  20. /// </summary>
  21. /// <param name="studentsOrderList"></param>
  22. /// <param name="preAddedValue"></param>
  23. /// <param name="userId"></param>
  24. void BatchUpdatePreAddedValue(List<StudentsOrderView> studentsOrderList, int preAddedValue, Guid userId);
  25. /// <summary>
  26. /// 查询学生征订记录
  27. /// </summary>
  28. IGridResultSet<StudentsOrderView> GetStudentsOrderViewGrid(ViewModel.ConfiguretView configuretView, Guid? campusID,
  29. Guid? collegeID, int? years, Guid? grademajorID, Guid? coursematerialID, int? courseCategoryID, int? isOrdered, Guid? schoolyearID,Guid?teachingMaterialID,
  30. int pageIndex, int pageSize);
  31. /// <summary>
  32. /// 生成征订计划
  33. /// </summary>
  34. /// <param name="schoolyearID"></param>
  35. void CreateStudentOrder(Guid schoolyearID, Guid userID);
  36. /// <summary>
  37. /// 指定征订教材
  38. /// </summary>
  39. /// <param name="studentsOrderID"></param>
  40. /// <param name="teachingMaterialPoolID"></param>
  41. /// <param name="userID"></param>
  42. void SpecifiedTeachingMaterialPool(List<Guid> studentsOrderID, List<Guid> teachingMaterialPoolID, List<Guid> specialtyPlanID, Guid userID);
  43. /// <summary>
  44. /// 删除征订的信息
  45. /// </summary>
  46. /// <param name="publishID"></param>
  47. void DeleteStudentsOrders(List<Guid> studentsOrderIDs);
  48. /// <summary>
  49. /// 确认征订
  50. /// </summary>
  51. /// <param name="studentsOrderID"></param>
  52. /// <param name="teachingMaterialPoolID"></param>
  53. /// <param name="userID"></param>
  54. void ComfirmStudentOrder(List<Guid> studentsOrderID, Guid userID);
  55. /// <summary>
  56. /// 查询学生征订记录(导出)
  57. /// </summary>
  58. IList<StudentsOrderView> GetStudentsOrderViewExcle(ViewModel.ConfiguretView configuretView, Guid? campusID,
  59. Guid? collegeID, int? years, Guid? grademajorID, Guid? coursematerialID, int? courseCategoryID, int? isOrdered, Guid? schoolyearID, Guid? teachingMaterialID);
  60. /// <summary>
  61. /// 查询学生征订记录(预订汇总导出)
  62. /// </summary>
  63. IList<StudentsOrderShowReportView> GetStudentsOrderViewAggregateExcle(ViewModel.ConfiguretView configuretView, Guid? campusID,
  64. Guid? collegeID, int? years, Guid? grademajorID, Guid? coursematerialID, int? courseCategoryID, int? isOrdered, Guid? schoolyearID, Guid? teachingMaterialID);
  65. /// <summary>
  66. /// 学生征订统计
  67. /// </summary>
  68. IGridResultSet<StudentsOrderShowReportView> GetStudentsOrderStatisticalViewGrid(ViewModel.ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID,
  69. Guid? collegeID, Guid? grademajorID, Guid? teachingMaterialPoolID, Guid? coursematerialID, Guid? publishID,
  70. int pageIndex, int pageSize);
  71. IList<StudentsOrderShowReportView> GetStudentsOrderStatisticalExcel(ViewModel.ConfiguretView configuretView, Guid? schoolyearID, Guid? campusID,
  72. Guid? collegeID, Guid? grademajorID, Guid? teachingMaterialPoolID, Guid? coursematerialID, Guid? publishID);
  73. }
  74. }