package com.ruoyi.project.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.project.business.domain.TcAccount;
import com.ruoyi.project.business.domain.dto.TtQuestionDatabaseDto;
import com.ruoyi.project.business.domain.train.TtQuestionDatabase;

import java.util.List;

/**
 * @author fangk
 * @description 针对表【tt_question_database】的数据库操作Mapper
 * @createDate 2024-05-20 15:28:25
 * @Entity com.ruoyi.project.business.domain.train.TtQuestionDatabase
 */
public interface TtQuestionDatabaseMapper extends BaseMapper<TtQuestionDatabase> {
    int batchInsertTcQuestion(List<TtQuestionDatabase> ttQuestionDatabaseList);

    List<TtQuestionDatabase> selectRandomQuestionList(Integer num);

    List<TtQuestionDatabase> selectRandomQuestionListByNum(TtQuestionDatabaseDto question);
}




