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);
|
}
|