package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzTicket;
import org.linlinjava.jz.db.domain.JzTicketExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket
     *
     * @mbg.generated
     */
    JzTicket selectOneByExample(JzTicketExample example);

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

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

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

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

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

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

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

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

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