package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallFile;
import org.linlinjava.litemall.db.domain.LitemallFileExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_file
     *
     * @mbg.generated
     */
    LitemallFile selectOneByExample(LitemallFileExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_file
     *
     * @mbg.generated
     */
    LitemallFile selectOneByExampleWithBLOBs(LitemallFileExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_file
     *
     * @mbg.generated
     */
    List<LitemallFile> selectByExampleWithBLOBs(LitemallFileExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_file
     *
     * @mbg.generated
     */
    int updateByExampleWithBLOBs(@Param("record") LitemallFile record, @Param("example") LitemallFileExample example);

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_file
     *
     * @mbg.generated
     */
    int updateByPrimaryKeyWithBLOBs(LitemallFile record);

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

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

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