mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
优化线上课列表
This commit is contained in:
@@ -4,6 +4,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||
import xyz.playedu.api.domain.Course;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import xyz.playedu.api.types.mapper.CourseCategoryCountMapper;
|
||||
import xyz.playedu.api.types.paginate.CoursePaginateFiler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -18,6 +19,10 @@ public interface CourseMapper extends BaseMapper<Course> {
|
||||
|
||||
List<CourseCategoryCountMapper> getCategoryCount();
|
||||
|
||||
List<Course> paginate(CoursePaginateFiler filer);
|
||||
|
||||
Long paginateCount(CoursePaginateFiler filer);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user