package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzDmTicketConsultType;
import org.linlinjava.jz.db.domain.JzDmTicketConsultTypeExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_ticket_consult_type
     *
     * @mbg.generated
     */
    JzDmTicketConsultType selectOneByExample(JzDmTicketConsultTypeExample example);

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

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

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

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

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

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

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

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

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

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

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

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