package cn.exploring.engine.server.db.dao;

import cn.exploring.engine.server.db.domain.WxSearchHistory;
import cn.exploring.engine.server.db.domain.WxSearchHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    WxSearchHistory selectOneByExample(WxSearchHistoryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    WxSearchHistory selectOneByExampleSelective(@Param("example") WxSearchHistoryExample example, @Param("selective") WxSearchHistory.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<WxSearchHistory> selectByExampleSelective(@Param("example") WxSearchHistoryExample example, @Param("selective") WxSearchHistory.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    WxSearchHistory selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") WxSearchHistory.Column ... selective);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    WxSearchHistory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") WxSearchHistoryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}