package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzTicketConsult;
import org.linlinjava.jz.db.domain.JzTicketConsultExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket_consult
     *
     * @mbg.generated
     */
    JzTicketConsult selectOneByExample(JzTicketConsultExample example);

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

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

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

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

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

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

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

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

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

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

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