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(@Param("record") CourseInitTest record, @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 selectOneByExample(CourseInitTestExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    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
     */
    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
     */
    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
     */
    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, @Param("selective") CourseInitTest.Column ... selective);

    /**
     * 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(@Param("record") CourseInitTest record, @Param("selective") CourseInitTest.Column ... selective);

    /**
     * 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
     */
    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
     */
    int logicalDeleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int batchInsert(@Param("list") List<CourseInitTest> list);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int batchInsertSelective(@Param("list") List<CourseInitTest> list, @Param("selective") CourseInitTest.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int upsertByExample(@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 upsertByExampleSelective(@Param("record") CourseInitTest record, @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
     */
    int upsertSelective(@Param("record") CourseInitTest record, @Param("selective") CourseInitTest.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int batchUpsert(@Param("list") List<CourseInitTest> list);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table course_init_test
     *
     * @mbg.generated
     */
    int batchUpsertSelective(@Param("list") List<CourseInitTest> list, @Param("selective") CourseInitTest.Column ... selective);
}