package cn.exploring.engine.server.db.dao;

import cn.exploring.engine.server.db.domain.CourseInitTest;
import cn.exploring.engine.server.db.domain.CourseInitTestExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CourseInitTestMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    long countByExample(CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int deleteByExample(CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int insert(CourseInitTest record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int insertSelective(CourseInitTest record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    CourseInitTest selectOneByExample(CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    CourseInitTest selectOneByExampleSelective(@Param("example") CourseInitTestExample example, @Param("selective") CourseInitTest.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<CourseInitTest> selectByExampleSelective(@Param("example") CourseInitTestExample example, @Param("selective") CourseInitTest.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    List<CourseInitTest> selectByExample(CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    CourseInitTest selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") CourseInitTest.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    CourseInitTest selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    CourseInitTest selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") CourseInitTest record, @Param("example") CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") CourseInitTest record, @Param("example") CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(CourseInitTest record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(CourseInitTest record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}