TaAnswerMapper.java 623B

1234567891011121314151617181920212223242526
  1. package com.yunzhi.questions.mapper;
  2. import com.yunzhi.questions.entity.TaAnswer;
  3. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * <p>
  9. * 题库答案 Mapper 接口
  10. * </p>
  11. *
  12. * @author yansen
  13. * @since 2021-12-10
  14. */
  15. @Mapper
  16. public interface TaAnswerMapper extends BaseMapper<TaAnswer> {
  17. int deleteByQuestionID(@Param("questionId") String questionId);
  18. List<TaAnswer> getByQuestionId(@Param("questionId") String questionId);
  19. int countByGameId(@Param("gameId") String gameId);
  20. }