package xyz.zinglizingli.books.mapper;

import org.apache.ibatis.annotations.Param;
import xyz.zinglizingli.books.po.UserRefBook;
import xyz.zinglizingli.books.po.UserRefBookExample;

import java.util.List;

public interface UserRefBookMapper {
    int countByExample(UserRefBookExample example);

    int deleteByExample(UserRefBookExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserRefBook record);

    int insertSelective(UserRefBook record);

    List<UserRefBook> selectByExample(UserRefBookExample example);

    UserRefBook selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserRefBook record, @Param("example") UserRefBookExample example);

    int updateByExample(@Param("record") UserRefBook record, @Param("example") UserRefBookExample example);

    int updateByPrimaryKeySelective(UserRefBook record);

    int updateByPrimaryKey(UserRefBook record);
}