package com.ruoyi.hezhi.mapper; import com.ruoyi.hezhi.domain.TbExamSubject; import com.ruoyi.hezhi.domain.TbExamSubjectSimulate; import java.util.List; import java.util.Map; /** * 模拟考试题目Mapper接口 * * @author ruoyi * @date 2024-11-08 */ public interface TbExamSubjectSimulateMapper { /** * 查询模拟考试题目 * * @param examSubjectSimulateId 模拟考试题目主键 * @return 模拟考试题目 */ public TbExamSubjectSimulate selectTbExamSubjectSimulateByExamSubjectSimulateId(Long examSubjectSimulateId); /** * 查询模拟考试题目列表 * * @param tbExamSubjectSimulate 模拟考试题目 * @return 模拟考试题目集合 */ public List selectTbExamSubjectSimulateList(TbExamSubjectSimulate tbExamSubjectSimulate); /** * 新增模拟考试题目 * * @param tbExamSubjectSimulate 模拟考试题目 * @return 结果 */ public int insertTbExamSubjectSimulate(TbExamSubjectSimulate tbExamSubjectSimulate); /** * 修改模拟考试题目 * * @param tbExamSubjectSimulate 模拟考试题目 * @return 结果 */ public int updateTbExamSubjectSimulate(TbExamSubjectSimulate tbExamSubjectSimulate); /** * 删除模拟考试题目 * * @param examSubjectSimulateId 模拟考试题目主键 * @return 结果 */ public int deleteTbExamSubjectSimulateByExamSubjectSimulateId(Long examSubjectSimulateId); /** * 批量删除模拟考试题目 * * @param examSubjectSimulateIds 需要删除的数据主键集合 * @return 结果 */ public int deleteTbExamSubjectSimulateByExamSubjectSimulateIds(Long[] examSubjectSimulateIds); /** * 批量新增模拟考试题目 * * @param list 考试题目列表 * @return 结果 */ public int batchInsertTbExamSubjectSimulateBy(List list); /** * 删除模拟考试题目 * * @param subjectWarehouseClassId 题库分类ID * @return 结果 */ public int deleteTbExamSubjectSimulateBySubjectWarehouseClassId(Long subjectWarehouseClassId); /** * 查询所有题目 * * @param params 参数 * @return 结果 */ public List> getAllTbExamSubjectSimulate(Map params); }