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

import cn.exploring.engine.server.db.domain.WxUserAction;
import cn.exploring.engine.server.db.domain.WxUserActionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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