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

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.system.app.entity.AppSearchHot;

import java.util.List;

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

    /**
     * @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);

}
