package com.yh.saas.plugin.yiliangyiyun.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.yh.saas.plugin.yiliangyiyun.entity.SearchRecordsInfo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 搜索记录 服务类
 * </p>
 *
 * @author Gongdc
 * @since 2021-07-20
 */
public interface ISearchRecordsInfoService extends IService<SearchRecordsInfo> {
    /**
     * 新增
     *
     * @param searchRecordsInfo
     */
    String addInfo(SearchRecordsInfo searchRecordsInfo);

    /**
     * 搜索记录列表
     * @param searchRecordsInfo
     * @return
     */
    Page<SearchRecordsInfo> selectSearchRecordsInfo(SearchRecordsInfo searchRecordsInfo);

    /**
     *删除搜索记录
     * @param searchRecordsInfo
     */
    void deleteSearchRecordsInfo(SearchRecordsInfo searchRecordsInfo);

    /**
     *
     * 推荐搜索列表
     * @param searchRecordsInfo
     */
    Page<SearchRecordsInfo> selectRecommendedSearchRecordsInfo(SearchRecordsInfo searchRecordsInfo);
}
