package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzOrderGoods;
import org.linlinjava.jz.db.domain.JzOrderGoodsExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_order_goods
     *
     * @mbg.generated
     */
    JzOrderGoods selectOneByExample(JzOrderGoodsExample example);

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

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

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

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

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

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

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

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

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

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

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

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