TaQuestionMapper.java 525B

123456789101112131415161718192021222324
  1. package com.yunzhi.questions.mapper;
  2. import com.yunzhi.questions.entity.TaQuestion;
  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 TaQuestionMapper extends BaseMapper<TaQuestion> {
  17. int countByGameId(@Param("gameId") String gameId);
  18. List<TaQuestion> getByGame(String gameId);
  19. }