hejianhao
2026-08-19 4fa3099ff1d2fc02bbbfafcda7fded28f609f6ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.tcm.training.admin.live.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tcm.training.admin.live.entity.HealthCourse;
import com.tcm.training.admin.live.vo.HealthCourseDetailRow;
import com.tcm.training.admin.live.vo.HealthCourseListRow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
@Mapper
public interface HealthCourseMapper extends BaseMapper<HealthCourse> {
 
    IPage<HealthCourseListRow> selectCoursePage(IPage<HealthCourseListRow> page,
                                                @Param("keyword") String keyword,
                                                @Param("levelCategoryId") Long levelCategoryId,
                                                @Param("difficultyCategoryId") Long difficultyCategoryId,
                                                @Param("status") Integer status);
 
    List<HealthCourseListRow> selectCourseList(@Param("keyword") String keyword,
                                               @Param("levelCategoryId") Long levelCategoryId,
                                               @Param("difficultyCategoryId") Long difficultyCategoryId,
                                               @Param("status") Integer status);
 
    List<HealthCourseListRow> selectAppSearchCourses(@Param("keyword") String keyword);
 
    HealthCourseDetailRow selectCourseDetail(@Param("id") Long id);
}