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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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