From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/HotSearchMapper.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/HotSearchMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/HotSearchMapper.java index a147749..a084371 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/HotSearchMapper.java +++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/goods/HotSearchMapper.java @@ -2,6 +2,7 @@ import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import org.apache.ibatis.annotations.Param; import com.yeshi.fanli.dao.BaseMapper; @@ -18,12 +19,19 @@ * @return */ List<HotSearch> listQuery(@Param("start") long start, @Param("count") int count, - @Param("key") String key, @Param("systemId")Long systemId, @Param("useType")Integer useType); + @Param("key") String key, @Param("systemId")Long systemId, @Param("useType")Integer useType, @Param("system") SystemEnum system); /** * 鏌ヨ缁熻 * @param key * @param systemId * @return */ - int countQuery(@Param("key") String key, @Param("systemId")Long systemId, @Param("useType")Integer useType); + int countQuery(@Param("key") String key, @Param("systemId")Long systemId, @Param("useType")Integer useType, @Param("system") SystemEnum system); + + /** + * 鏌ヨ鐑悳鍒楄〃 + * @param useType + * @return + */ + List<HotSearch> getHotSearchList(@Param("useType")Integer useType, @Param("system") SystemEnum system); } \ No newline at end of file -- Gitblit v1.8.0