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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_lesson_info
     *
     * @mbg.generated
     */
    UserLessonInfo selectOneByExample(UserLessonInfoExample example);

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

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

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

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

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

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

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

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

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

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

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

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