ICourseTableService.java 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package com.xjrsoft.module.courseTable.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.xjrsoft.module.courseTable.dto.ClassListDto;
  4. import com.xjrsoft.module.courseTable.dto.ClassTeacherDto;
  5. import com.xjrsoft.module.courseTable.entity.CourseTable;
  6. import com.xjrsoft.module.courseTable.vo.ClassListVo;
  7. import com.xjrsoft.module.schedule.dto.ClassOptionDto;
  8. import com.xjrsoft.module.schedule.dto.CourseTableDto;
  9. import com.xjrsoft.module.schedule.dto.CourseTableExportQueryDto;
  10. import com.xjrsoft.module.schedule.dto.ScheduleWeekExportQueryDto;
  11. import com.xjrsoft.module.schedule.entity.WfCourseAdjust;
  12. import com.xjrsoft.module.schedule.vo.ClassOptionVo;
  13. import com.xjrsoft.module.schedule.vo.CourseListVo;
  14. import com.xjrsoft.module.schedule.vo.CourseTableVo;
  15. import com.xjrsoft.module.schedule.vo.CurrentWeekVo;
  16. import java.io.ByteArrayOutputStream;
  17. import java.io.IOException;
  18. import java.io.InputStream;
  19. import java.util.List;
  20. /**
  21. * <p>
  22. * 课表 服务类
  23. * </p>
  24. *
  25. * @author baomidou
  26. * @since 2023-09-02 02:19:56
  27. */
  28. public interface ICourseTableService extends IService<CourseTable> {
  29. Boolean wordImport(InputStream inputStream) throws IOException;
  30. List<ClassListVo> classList(ClassListDto dto);
  31. CourseTableVo getList(CourseTableDto dto);
  32. List<CourseListVo> getAdjustList(String teacherId, String adjustDate, String classId, String adjustType);
  33. String getPreCheck(String preCheckType, String courseId, String swapCourseId, String swapDate, String subTeacherId);
  34. /**
  35. * 流程审批通过后,根据日期
  36. *
  37. * @param courseAdjust
  38. * @return
  39. */
  40. Boolean adjustCourse(WfCourseAdjust courseAdjust);
  41. ByteArrayOutputStream listScheduleWeekExportQuery(ScheduleWeekExportQueryDto dto);
  42. List<ClassOptionVo> getClassListByTeacherId(ClassOptionDto dto);
  43. void deleteBakData(Long wfCourseAdjustId);
  44. ByteArrayOutputStream scheduleWeekExportQuery(CourseTableDto dto);
  45. Integer getSubstituteTeacherCourseCountByParams(ClassTeacherDto dto);
  46. ByteArrayOutputStream exportQuery(CourseTableExportQueryDto dto) throws IOException;
  47. CurrentWeekVo getCurrentWeek(CourseTableDto dto);
  48. }