package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallTeu;
import org.linlinjava.litemall.db.domain.LitemallTeuExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_teu
     *
     * @mbg.generated
     */
    LitemallTeu selectOneByExample(LitemallTeuExample example);

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

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

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

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

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

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

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

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

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

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

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

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