package com.yami.shop.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yami.shop.bean.model.SearchTerm;
import com.yami.shop.common.util.PageParam;
import org.apache.ibatis.annotations.Param;

public interface SearchTermMapper extends BaseMapper<SearchTerm> {

    IPage<SearchTerm> hotSearchWord(@Param("page") PageParam<SearchTerm> page, @Param("type") Integer type);
}