package com.mindskip.xzs.repository;
|
|
import com.mindskip.xzs.domain.QuestionKnowledge;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* @version 2.2.0
|
* @description: 题目知识点
|
* Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司
|
* @date 2021 /9/7 9:45
|
*/
|
@Mapper
|
public interface QuestionKnowledgeMapper extends BaseMapper<QuestionKnowledge> {
|
int deleteByPrimaryKey(Integer id);
|
|
int insert(QuestionKnowledge record);
|
|
int insertSelective(QuestionKnowledge record);
|
|
QuestionKnowledge selectByPrimaryKey(Integer id);
|
|
int updateByPrimaryKeySelective(QuestionKnowledge record);
|
|
int updateByPrimaryKey(QuestionKnowledge record);
|
|
/**
|
* 获取题目知识点
|
*
|
* @param questionId the question id
|
* @return the question knowledge list
|
*/
|
List<QuestionKnowledge> getQuestionKnowledgeList(Integer questionId);
|
}
|