package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzGoodsSpecification;
import org.linlinjava.jz.db.domain.JzGoodsSpecificationExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_goods_specification
     *
     * @mbg.generated
     */
    JzGoodsSpecification selectOneByExample(JzGoodsSpecificationExample example);

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

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

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

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

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

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

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

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

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

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

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

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