puzhibing
2023-11-25 53e7558400dcacecdce70e39ebfe1727740f9296
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
31
32
33
34
35
36
37
38
package com.dsh.activity.mapper;
 
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsh.activity.entity.BenefitsVideos;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 福利视频 Mapper 接口
 * </p>
 *
 * @author jqs
 * @since 2023-07-06
 */
public interface BenefitsVideosMapper extends BaseMapper<BenefitsVideos> {
 
 
    /**
     * 获取福利课程列表
     *
     * @param uid
     * @param classificationId
     * @param offset
     * @param limit
     * @return
     */
    List<Map<String, Object>> queryBenefitsVideosList(@Param("uid") Integer uid, @Param("classificationId") Integer classificationId,
                                                      @Param("ids") List<Integer> ids, @Param("offset") Integer offset, @Param("limit") Integer limit);
 
    List<BenefitsVideos> getBenefitVideoById(@Param("id") Integer id);
 
    List<BenefitsVideos> getBybIdAndcId(@Param("bId") Integer benefitsVideoClassificationId, @Param("cId") Integer courseId);
}