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/BanLiShopGoodsService.java | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsService.java index 4f3a21c..827b8eb 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsService.java @@ -2,6 +2,8 @@ import java.util.List; +import org.springframework.web.multipart.MultipartFile; + import com.yeshi.fanli.entity.shop.BanLiShopGoods; import com.yeshi.fanli.exception.shop.BanLiShopGoodsException; import com.yeshi.fanli.exception.shop.BanLiShopGoodsSetException; @@ -78,5 +80,32 @@ * @param id */ public void deleteByPrimaryKey(Long id); + + /** + * 澧炲姞閿�閲� + * @param id + * @param count + */ + public void addSalesCount(Long id,int count); + + /** + * 鍚庡彴缁存姢 + * @param file + * @param file2 + * @param record + * @throws BanLiShopGoodsSetException + * @throws Exception + */ + public void saveObject(MultipartFile file, MultipartFile file2, BanLiShopGoods record) + throws BanLiShopGoodsException, Exception; + + + /** + * 鐘舵�佸垏鎹� + * @param id + * @throws BanLiShopGoodsSetException + */ + public void switchState(Long id) throws BanLiShopGoodsException; + } -- Gitblit v1.8.0