package io.renren.modules.snoop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.snoop.entity.SnoopEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SnoopDao extends BaseMapper<SnoopEntity> {

    List<SnoopEntity> selectByName(@Param("page")Integer page, @Param("size")Integer size, @Param("name")String name);

    Integer getCountByName(@Param("name")String name);
}
