package com.xhkjedu.sstudy.mapper.question;

import com.xhkjedu.base.TkMapper;
import com.xhkjedu.sstudy.model.question.TQuestionCollect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionCollectMapper extends TkMapper<TQuestionCollect> {
    //试题取消收藏
    void cancelCollect(@Param("collect") TQuestionCollect collect);

    //获取试题是否收藏列表
    List<String> listCollect(@Param("questionids") List<String> questionids, @Param("userid") Integer userid);
}
