From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 23 五月 2020 09:54:38 +0800 Subject: [PATCH] 足迹、收藏订单兼容新需求 --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/RecommendUserGoodsService.java | 24 +++++++++++++++++------- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/RecommendUserGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/RecommendUserGoodsService.java index 7649805..3e9e584 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/RecommendUserGoodsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/RecommendUserGoodsService.java @@ -19,23 +19,22 @@ */ public void addRecommend(Long uid, String device, String recommendDesc, List<CommonGoods> goodsList) throws RecommendUserGoodsException; - + /** * * @param uid * @param commonGoodsId * @return */ - public List<RecommendUserGoodsMap> listByUidAndCommonGoodsId(Long uid,Long commonGoodsId); - + public List<RecommendUserGoodsMap> listByUidAndCommonGoodsId(Long uid, Long commonGoodsId); + /** * * @param uid * @param commonGoodsId * @return */ - public Long countByUidAndCommonGoodsId(Long uid,Long commonGoodsId); - + public Long countByUidAndCommonGoodsId(Long uid, Long commonGoodsId); /** * 鑾峰彇鎺ㄨ崘鍒楄〃 @@ -54,11 +53,12 @@ * @return */ public long countRecommend(Long uid); - + public RecommendUserGoods getLatestRecommendUserGoods(Long uid); /** - * 鏍规嵁璁惧鑾峰彇鏈�杩戠殑鎺ㄨ崘 + * 鏍规嵁璁惧鑾峰彇鏈�杩戠殑鎺ㄨ崘 + * * @param device * @return */ @@ -66,6 +66,7 @@ /** * 鏍规嵁璁惧鍙锋煡璇� + * * @param device * @param page * @param pageSize @@ -75,9 +76,18 @@ /** * 鏍规嵁璁惧鍙风粺璁� + * * @param device * @return */ public long countRecommendGoodsByDevice(String device); + /** + * 灏嗙敤鎴稩D鐨勬帹鑽愯褰曞悓姝ュ埌璁惧 + * + * @param uid + * @param targetDevice + */ + public void syncDeviceAndUid(Long uid, String targetDevice); + } -- Gitblit v1.8.0