From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 23 一月 2024 17:17:55 +0800 Subject: [PATCH] 抖音转链修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/shop/BanLiShopGoodsService.java | 214 +++++++++++++++++++++++++++------------------------- 1 files changed, 111 insertions(+), 103 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 ee0009d..054b9e4 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 @@ -1,103 +1,111 @@ -package com.yeshi.fanli.service.inter.shop; - -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; -import com.yeshi.fanli.exception.shop.BanLiShopGoodsSetPayException; - -/** - * 鏉挎牀鍟嗗煄鍟嗗搧鏈嶅姟 - * - * @author Administrator - * - */ -public interface BanLiShopGoodsService { - /** - * 鍟嗗搧鍒楄〃 - * - * @param key - * @param page - * @param pageSize - * @return - */ - public List<BanLiShopGoods> listGoods(String key, Integer state, int page, int pageSize); - - /** - * 鏌ヨ鍟嗗搧鏁伴噺 - * - * @param key - * @param state - * @return - */ - public long countGoods(String key, Integer state); - - /** - * 鑾峰彇鍟嗗搧璇︽儏 - * - * @param goodsId - * @return - */ - public BanLiShopGoods getGoodsDetail(Long goodsId); - - /** - * 涓婚敭妫�绱� - * - * @param id - * @return - */ - public BanLiShopGoods selectByPrimaryKey(Long id); - - /** - * 娣诲姞鍟嗗搧 - * - * @param goods - * @throws BanLiShopGoodsException - */ - public void addGoods(BanLiShopGoods goods) - throws BanLiShopGoodsException, BanLiShopGoodsSetException, BanLiShopGoodsSetPayException; - - /** - * 鎸変富閿洿鏂� - * - * @param goods - */ - public void updateSelectiveByPrimaryKey(BanLiShopGoods goods); - - /** - * 鎵归噺鍒犻櫎 - * - * @param idsList - */ - public void delete(List<Long> idsList); - - /** - * 鎸変富閿垹闄� - * - * @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; - - -} +package com.yeshi.fanli.service.inter.shop; + +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; +import com.yeshi.fanli.exception.shop.BanLiShopGoodsSetPayException; + +/** + * 鏉挎牀鍟嗗煄鍟嗗搧鏈嶅姟 + * + * @author Administrator + * + */ +public interface BanLiShopGoodsService { + /** + * 鍟嗗搧鍒楄〃 + * + * @param key + * @param page + * @param pageSize + * @return + */ + public List<BanLiShopGoods> listGoods(String key, Integer state, int page, int pageSize); + + /** + * 鏌ヨ鍟嗗搧鏁伴噺 + * + * @param key + * @param state + * @return + */ + public long countGoods(String key, Integer state); + + /** + * 鑾峰彇鍟嗗搧璇︽儏 + * + * @param goodsId + * @return + */ + public BanLiShopGoods getGoodsDetail(Long goodsId); + + /** + * 涓婚敭妫�绱� + * + * @param id + * @return + */ + public BanLiShopGoods selectByPrimaryKey(Long id); + + /** + * 娣诲姞鍟嗗搧 + * + * @param goods + * @throws BanLiShopGoodsException + */ + public void addGoods(BanLiShopGoods goods) + throws BanLiShopGoodsException, BanLiShopGoodsSetException, BanLiShopGoodsSetPayException; + + /** + * 鎸変富閿洿鏂� + * + * @param goods + */ + public void updateSelectiveByPrimaryKey(BanLiShopGoods goods); + + /** + * 鎵归噺鍒犻櫎 + * + * @param idsList + */ + public void delete(List<Long> idsList); + + /** + * 鎸変富閿垹闄� + * + * @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