package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzStorage;
import org.linlinjava.jz.db.domain.JzStorageExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_storage
     *
     * @mbg.generated
     */
    JzStorage selectOneByExample(JzStorageExample example);

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

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

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

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

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

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

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

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

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

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

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

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