serv-学习管理
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
package org.xyzh.api.study.course;
|
||||
|
||||
import org.xyzh.common.core.domain.ResultDomain;
|
||||
import org.xyzh.common.core.page.PageParam;
|
||||
import org.xyzh.common.core.page.PageRequest;
|
||||
import org.xyzh.common.dto.study.TbCourse;
|
||||
import org.xyzh.common.dto.study.TbCourseChapter;
|
||||
import org.xyzh.common.vo.CourseVO;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -24,6 +27,15 @@ public interface CourseService {
|
||||
*/
|
||||
ResultDomain<TbCourse> getCourseList(TbCourse filter);
|
||||
|
||||
/**
|
||||
* @description 分页获取课程列表
|
||||
* @param filter 过滤条件
|
||||
* @return ResultDomain<TbCourse> 课程列表
|
||||
* @author yslg
|
||||
* @since 2025-10-15
|
||||
*/
|
||||
ResultDomain<TbCourse> getCoursePage(PageRequest<TbCourse> pageRequest);
|
||||
|
||||
/**
|
||||
* @description 根据ID获取课程详情
|
||||
* @param courseID 课程ID
|
||||
@@ -31,7 +43,7 @@ public interface CourseService {
|
||||
* @author yslg
|
||||
* @since 2025-10-15
|
||||
*/
|
||||
ResultDomain<TbCourse> getCourseById(String courseID);
|
||||
ResultDomain<CourseVO> getCourseById(String courseID);
|
||||
|
||||
/**
|
||||
* @description 创建课程
|
||||
@@ -40,7 +52,7 @@ public interface CourseService {
|
||||
* @author yslg
|
||||
* @since 2025-10-15
|
||||
*/
|
||||
ResultDomain<TbCourse> createCourse(TbCourse course);
|
||||
ResultDomain<CourseVO> createCourse(CourseVO courseVO);
|
||||
|
||||
/**
|
||||
* @description 更新课程
|
||||
|
||||
Reference in New Issue
Block a user