| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.admin.HotSearchAdmin;
|
| | | import com.yeshi.fanli.entity.bus.search.HotSearch;
|
| | |
|
| | | public interface HotSearchService {
|
| | |
|
| | | List<HotSearchAdmin> getHotSearchs(int index, String platform, String packages, String key);
|
| | |
|
| | | HotSearch getHotSearch(long id);
|
| | |
|
| | | void addHotSearch(HotSearch hotSearch);
|
| | |
|
| | | Integer deleteHotSearch(long[] hsids);
|
| | | void deleteHotSearch(long[] hsids);
|
| | |
|
| | | void updateHotSearch(HotSearch hotSearch);
|
| | |
|
| | | int getCount(String platform, String packages, String key);
|
| | | public List<HotSearch> listQuery(int start, int count, String key, Long systemId, Integer useType) throws Exception;
|
| | |
|
| | | public List<HotSearch> listQuery(int start, int count, String key, Long systemId) throws Exception;
|
| | | int countList(String key, Long systemId, Integer useType);
|
| | |
|
| | | int countList(String key, Long systemId);
|
| | | |
| | | /**
|
| | | * 查询各个平台热搜
|
| | | * @param useType
|
| | | * @return
|
| | | */
|
| | | public List<HotSearch> getHotSearchCache(Integer useType);
|
| | |
|
| | | }
|