content: package com.wenmrong.community1.community.mapper;
  
  import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  import com.wenmrong.community1.community.model.Question;
  import com.wenmrong.community1.community.model.QuestionExample;
  import java.util.List;
  import org.apache.ibatis.annotations.Param;
  import org.apache.ibatis.session.RowBounds;
  
  public interface QuestionMapper  extends BaseMapper<Question> {
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      long countByExample(QuestionExample example);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int deleteByExample(QuestionExample example);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int deleteByPrimaryKey(Long id);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int insert(Question record);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int insertSelective(Question record);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      List<Question> selectByExampleWithBLOBsWithRowbounds(QuestionExample example, RowBounds rowBounds);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      List<Question> selectByExampleWithBLOBs(QuestionExample example);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      List<Question> selectByExampleWithRowbounds(QuestionExample example, RowBounds rowBounds);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      List<Question> selectByExample(QuestionExample example);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      Question selectByPrimaryKey(Long id);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int updateByExampleSelective(@Param("record") Question record, @Param("example") QuestionExample example);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int updateByExampleWithBLOBs(@Param("record") Question record, @Param("example") QuestionExample example);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int updateByExample(@Param("record") Question record, @Param("example") QuestionExample example);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int updateByPrimaryKeySelective(Question record);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int updateByPrimaryKeyWithBLOBs(Question record);
  
      /**
       * This method was generated by MyBatis Generator.
       * This method corresponds to the database table QUESTION
       *
       * @mbg.generated Thu May 28 09:25:06 CST 2020
       */
      int updateByPrimaryKey(Question record);
  }