package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzTicketRelation;
import org.linlinjava.jz.db.domain.JzTicketRelationExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket_relation
     *
     * @mbg.generated
     */
    JzTicketRelation selectOneByExample(JzTicketRelationExample example);

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

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

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

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

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

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

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

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

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

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

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