package org.jeecg.modules.system.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.app.entity.AppSearchHot;

public interface IAppSearchHotService extends IService<AppSearchHot> {
    /**
     * @Author SheepHy
     * @Description 查询全部热词
     * @Date 9:52 2025/8/6
     * @Param
     * @return
     **/
    IPage<AppSearchHot> getHotSearch(Page<AppSearchHot> page,String name);

    /**
     * @Author SheepHy
     * @Description 添加热词
     * @Date 9:52 2025/8/6
     * @Param
     * @return
     **/
    boolean addHotSearch(AppSearchHot appSearchHot);

    /**
     * @Author SheepHy
     * @Description 删除热词
     * @Date 9:52 2025/8/6
     * @Param
     * @return
     **/
    boolean deleteHotSearch(String id);

    /**
     * @Author SheepHy
     * @Description 修改热词
     * @Date 9:52 2025/8/6
     * @Param
     * @return
     **/
    boolean updateHotSearch(AppSearchHot appSearchHot);

    /**
     * @Author SheepHy
     * @Description 获取热词详情
     * @Date 9:52 2025/8/6
     * @Param
     * @return
     **/
    AppSearchHot getHotSearchById(String id);

}
