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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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