package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzOrder;
import org.linlinjava.jz.db.domain.JzOrderExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_order
     *
     * @mbg.generated
     */
    JzOrder selectOneByExample(JzOrderExample example);

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

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

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

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

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

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

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

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

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

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

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