package org.linlinjava.jz.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.jz.db.domain.JzDmTicketResult;
import org.linlinjava.jz.db.domain.JzDmTicketResultExample;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_dm_ticket_result
     *
     * @mbg.generated
     */
    JzDmTicketResult selectOneByExample(JzDmTicketResultExample example);

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

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

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

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

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

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

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

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

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

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

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