package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzGoodsProduct;
import org.linlinjava.jz.db.domain.JzGoodsProductExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_goods_product
     *
     * @mbg.generated
     */
    JzGoodsProduct selectOneByExample(JzGoodsProductExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_goods_product
     *
     * @mbg.generated
     */
    JzGoodsProduct 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_product
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") JzGoodsProduct record, @Param("example") JzGoodsProductExample example);

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

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

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

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

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