CoursesGroupService.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. package com.ym.mec.biz.service;
  2. import com.ym.mec.biz.dal.dto.CourseGroupCreateDto;
  3. import com.ym.mec.biz.dal.dto.GroupHeadInfoDto;
  4. import com.ym.mec.biz.dal.entity.CoursesGroup;
  5. import com.ym.mec.biz.dal.entity.StudentPaymentOrder;
  6. import com.ym.mec.biz.dal.page.GroupCourseScheduleQueryInfo;
  7. import com.ym.mec.common.entity.HttpResponseResult;
  8. import com.ym.mec.common.page.PageInfo;
  9. import com.ym.mec.common.service.BaseService;
  10. import java.util.Map;
  11. public interface CoursesGroupService extends BaseService<Long, CoursesGroup> {
  12. /**
  13. * @describe 课程创建
  14. * @author Joburgess
  15. * @date 2020/3/8
  16. * @param courseGroupCreateInfo: 课程组创建信息
  17. * @return void
  18. */
  19. void createCourseGroup(CourseGroupCreateDto courseGroupCreateInfo);
  20. /**
  21. * @describe 获取教师课程组列表
  22. * @author Joburgess
  23. * @date 2020/3/8
  24. * @param teacherId: 教师编号
  25. * @return java.util.List<com.ym.mec.biz.dal.dto.CourseGroupTeacherCardDto>
  26. */
  27. PageInfo findTeacherCourseGroups(Integer teacherId, GroupCourseScheduleQueryInfo queryInfo);
  28. /**
  29. * @describe 获取课程对应班级头部信息
  30. * @author Joburgess
  31. * @date 2020/3/10
  32. * @param courseScheduleId: 课程编号
  33. * @return com.ym.mec.biz.dal.dto.GroupHeadInfoDto
  34. */
  35. GroupHeadInfoDto getGroupHeadInfo(Long courseScheduleId);
  36. /**
  37. * @describe 获取课程组详情
  38. * @author Joburgess
  39. * @date 2020/3/12
  40. * @param groupId:
  41. * @return Map<String,Object>
  42. */
  43. Map<String,Object> getGroupDetail(Long groupId);
  44. /**
  45. * @describe 购买课程组
  46. * @author Joburgess
  47. * @date 2020/3/11
  48. * @param userId:
  49. * @param courseGroupId:
  50. * @return void
  51. */
  52. HttpResponseResult buyCourseGroup(Integer userId, Long courseGroupId, boolean isUseBalancePayment);
  53. void orderCallback(StudentPaymentOrder studentPaymentOrder);
  54. /**
  55. * @describe 无学生课程组提醒
  56. * @author Joburgess
  57. * @date 2020/3/17
  58. * @param :
  59. * @return void
  60. */
  61. void noStudentsCourseGroupRemind();
  62. /**
  63. * @describe 结束已完成的课程组
  64. * @author Joburgess
  65. * @date 2020/3/18
  66. * @param :
  67. * @return void
  68. */
  69. void finishCourseGroup();
  70. }