ICourseTableService.java 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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 java.io.ByteArrayOutputStream;
  16. import java.io.IOException;
  17. import java.io.InputStream;
  18. import java.util.List;
  19. /**
  20. * <p>
  21. * 课表 服务类
  22. * </p>
  23. *
  24. * @author baomidou
  25. * @since 2023-09-02 02:19:56
  26. */
  27. public interface ICourseTableService extends IService<CourseTable> {
  28. Boolean wordImport(InputStream inputStream) throws IOException;
  29. List<ClassListVo> classList(ClassListDto dto);
  30. CourseTableVo getList(CourseTableDto dto);
  31. List<CourseListVo> getAdjustList(String teacherId, String adjustDate, String classId, String adjustType);
  32. String getPreCheck(String preCheckType, String courseId, String swapCourseId, String swapDate, String subTeacherId);
  33. /**
  34. * 流程审批通过后,根据日期
  35. *
  36. * @param courseAdjust
  37. * @return
  38. */
  39. Boolean adjustCourse(WfCourseAdjust courseAdjust);
  40. ByteArrayOutputStream listScheduleWeekExportQuery(ScheduleWeekExportQueryDto dto);
  41. List<ClassOptionVo> getClassListByTeacherId(ClassOptionDto dto);
  42. void deleteBakData(Long wfCourseAdjustId);
  43. ByteArrayOutputStream scheduleWeekExportQuery(CourseTableDto dto);
  44. Integer getSubstituteTeacherCourseCountByParams(ClassTeacherDto dto);
  45. ByteArrayOutputStream exportQuery(CourseTableExportQueryDto dto) throws IOException;
  46. }