package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzTicketOrder;
import org.linlinjava.jz.db.domain.JzTicketOrderExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket_order
     *
     * @mbg.generated
     */
    JzTicketOrder selectOneByExample(JzTicketOrderExample example);

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

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

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

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

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

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

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

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

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

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

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

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