|
|
|
package com.teaching.backend.service.courses;
|
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
|
import com.teaching.backend.model.dto.courses.CoursesDTO;
|
|
|
|
import com.teaching.backend.model.dto.courses.PageDTO;
|
|
|
|
import com.teaching.backend.model.entity.courses.Courses;
|
|
|
|
import com.teaching.backend.model.query.CourseQuery;
|
|
|
|
import com.teaching.backend.model.vo.courses.CoursesVO;
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* <p>
|
|
|
|
* 服务类
|
|
|
|
* </p>
|
|
|
|
*
|
|
|
|
* @author zjh
|
|
|
|
* @since 2024-05-30
|
|
|
|
*/
|
|
|
|
public interface ICoursesService extends IService<Courses> {
|
|
|
|
|
|
|
|
String saveCourseWithObjective(CoursesDTO coursesDTO);
|
|
|
|
|
|
|
|
PageDTO<CoursesVO> queryCourses(CourseQuery courseQuery);
|
|
|
|
|
|
|
|
|
|
|
|
void deleteBatchByIds(String id);
|
|
|
|
|
|
|
|
int countHours(String id);
|
|
|
|
|
|
|
|
List<CoursesVO> getPagePageSize(int page, int pageSize);
|
|
|
|
|
|
|
|
void updateCourse(CoursesDTO coursesDTO);
|
|
|
|
|
|
|
|
void down(HttpServletResponse response, String id) throws Exception;
|
|
|
|
}
|