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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int insertSelective(@Param("record") LessonInfo record, @Param("selective") LessonInfo.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    LessonInfo selectOneByExample(LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    LessonInfo selectOneByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    List<LessonInfo> selectByExampleSelective(@Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    LessonInfo selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LessonInfo.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    LessonInfo selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") LessonInfo record, @Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(@Param("record") LessonInfo record, @Param("selective") LessonInfo.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int logicalDeleteByExample(@Param("example") LessonInfoExample example);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int upsertByExample(@Param("record") LessonInfo record, @Param("example") LessonInfoExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int upsertByExampleSelective(@Param("record") LessonInfo record, @Param("example") LessonInfoExample example, @Param("selective") LessonInfo.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table lesson_info
     *
     * @mbg.generated
     */
    int upsertSelective(@Param("record") LessonInfo record, @Param("selective") LessonInfo.Column ... selective);

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

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