package com.dsh.course.service;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.dsh.course.entity.CoursePackageScheduling;
|
import com.dsh.course.model.QueryCoursePackageSchedulingList;
|
import com.dsh.course.model.vo.response.AppUserVideoResponse;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2023/8/11 10:57
|
*/
|
public interface ICoursePackageSchedulingService extends IService<CoursePackageScheduling> {
|
|
|
/**
|
* 获取课包排课数据
|
*
|
* @param page
|
* @param queryCoursePackageSchedulingList
|
* @return
|
*/
|
List<Map<String, Object>> queryCoursePackageSchedulingList(Page<Map<String, Object>> page, QueryCoursePackageSchedulingList queryCoursePackageSchedulingList);
|
|
|
|
/**
|
* 定时修改状态
|
*/
|
void taskSetStatus();
|
|
List<AppUserVideoResponse> queryAll(List<Long> longs);
|
|
|
|
/**
|
* 每周一凌晨定时添加排课数据
|
*/
|
void taskCoursePackageScheduling();
|
|
|
/**
|
* 处理剩余课时已经全部排完课后临时增加课时后添加排课
|
* @param coursePackageOrderStudentId
|
*/
|
void addNewCoursePackageScheduling(Long coursePackageOrderStudentId, Integer classNumber);
|
|
|
/**
|
* 定时任务过期清零课时及排课数据
|
*/
|
void taskOverdueClearing();
|
}
|