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/shop/BanLiShopGoodsSetService.java | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsSetService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsSetService.java index 7e7467c..cfcd228 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsSetService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsSetService.java @@ -73,8 +73,30 @@ * @param key * @return */ - public List<BanLiShopGoodsSets> listQuery(int page, int pageSize, String key); + public List<BanLiShopGoodsSets> listQuery(int page, int pageSize, String key, Long goodsId); - public long countQuery(String key); + public long countQuery(String key, Long goodsId); + + /** + * 閿�閲忓鍔� + * @param id + * @param count + */ + public void addSalesCount(Long id,int count); + + /** + * 鍚庡彴缂栬緫 + * @param record + * @throws BanLiShopGoodsSetException + */ + public void saveObject(BanLiShopGoodsSets record) throws BanLiShopGoodsSetException; + + + /** + * 鐘舵�佸垏鎹� + * @param id + * @throws BanLiShopGoodsSetException + */ + public void switchState(Long id) throws BanLiShopGoodsSetException; } -- Gitblit v1.8.0