package com.thhy.secure.modules.biz.exam.mapper;
|
|
import com.thhy.secure.modules.biz.exam.entity.QueDto;
|
import com.thhy.secure.modules.biz.exam.entity.Question;
|
import com.thhy.secure.modules.biz.exam.entity.QuestionAnswerVo;
|
import com.thhy.secure.modules.biz.exam.entity.QuestionListVo;
|
import org.springframework.stereotype.Component;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* Mapper 接口
|
* @author zhang_xiao_bo
|
* @since 2023-05-26 09:21:47
|
*/
|
@Component
|
public interface QuestionMapper {
|
|
|
Question queryById(Serializable queId);
|
|
Integer queryVersionById(Serializable queId);
|
|
List<QuestionListVo> findList(QueDto queDto);
|
|
List<Question> findAll();
|
|
void insert(Question question);
|
|
void update(Question question);
|
|
void deletelogic(Serializable queId);
|
|
void deleteById(Serializable queId);
|
|
List<QuestionAnswerVo> findAllQue(String examId);
|
}
|