From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 16 十月 2024 14:28:37 +0800 Subject: [PATCH] 将CMQ替换为rabbitmq --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassShopService.java | 266 ++++++++++++++++++++++++++-------------------------- 1 files changed, 133 insertions(+), 133 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassShopService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassShopService.java index c3717fc..fb3ac93 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassShopService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandClassShopService.java @@ -1,133 +1,133 @@ -package com.yeshi.fanli.service.inter.brand; - -import java.util.List; - -import com.yeshi.fanli.entity.SystemEnum; -import org.springframework.web.multipart.MultipartFile; - -import com.yeshi.fanli.entity.brand.BrandClassShop; -import com.yeshi.common.entity.taobao.TaoBaoShop; -import com.yeshi.fanli.exception.brand.BrandClassShopException; -import com.yeshi.fanli.vo.brand.TaoBaoShopVO; - -import net.sf.json.JSONObject; - -/** - * 鍝佺墝搴楅摵鏈嶅姟 - * - * @author Administrator - * - */ -public interface BrandClassShopService { - - - /** - * 鏄惁瀛樺湪 - * @param list - * @return - */ - public List<BrandClassShop> getExistByShopIds(List<Long> list); - - /** - * 娣诲姞搴楅摵淇℃伅 - * @param cid - * @param list - * @throws BrandClassShopException - */ - public String saveShopInfo(Long cid, List<Long> list) throws BrandClassShopException; - - /** - * 鏌ヨ鍒楄〃 - * @param start - * @param count - * @param key - * @param cid - * @param state - * @return - */ - public List<BrandClassShop> listQuery(long start, int count, String key, Long cid, Integer state); - - public long countQuery(String key, Long cid, Integer state); - - /** - * 鏇存柊搴楅摵淇℃伅 - * @param file - * @param id - * @param cid - * @param shopName - * @param state - * @throws BrandClassShopException - */ - public void changeShopInfo(MultipartFile file, Long id, Long cid, String shopName, Integer state, Integer top,String key) - throws BrandClassShopException; - - - /** - * 鎵归噺鍒犻櫎 - * @param list - * @return - */ - public void deleteBatchByPrimaryKey(List<Long> list); - - /* - * 鎺掑簭 - */ - public void updateOrder(Long id, Integer moveType) throws BrandClassShopException, Exception; - - /** - * 鍓嶇鏌ヨ骞剁紦瀛� - * @param page - * @param cid - * @return - */ - public JSONObject listEffectiveCache(int page, Long cid,SystemEnum system); - - /** - * 鐐瑰嚮娆℃暟 - * @param shopId - */ - public void addClick(Long shopId); - - /** - * 鏍规嵁鍒嗙被id杩涜鍒犻櫎 - * @param list - */ - public void deleteBatchByClassId(List<Long> list); - - - /** - * 鏇存柊鍝佺墝鍟嗗搧 - */ - public void updateShopGoods(); - - /** - * 搴楅摵鍒楄〃 - * @param page - * @param cid - * @return - */ - public JSONObject listEffectiveCacheV2(int page, Long cid,String platform,String version,SystemEnum system); - - - /** - * 鍏煎2.0 - * @param start - * @param count - * @param cid - * @return - */ - public List<TaoBaoShopVO> listEffectiveShop(long start, int count, Long cid,String platform,String version,SystemEnum system); - - - - public long countBrandShopinfo(Long cid); - - - /** - * 鍒嗙被涓嬪簵閾� - * @param cid - * @return - */ - public List<TaoBaoShop> listEffectiveClassShop(Long cid,SystemEnum system); - -} +package com.yeshi.fanli.service.inter.brand; + +import java.util.List; + +import com.yeshi.fanli.entity.SystemEnum; +import org.springframework.web.multipart.MultipartFile; + +import com.yeshi.fanli.entity.brand.BrandClassShop; +import com.yeshi.common.entity.taobao.TaoBaoShop; +import com.yeshi.fanli.exception.brand.BrandClassShopException; +import com.yeshi.fanli.vo.brand.TaoBaoShopVO; + +import net.sf.json.JSONObject; + +/** + * 鍝佺墝搴楅摵鏈嶅姟 + * + * @author Administrator + * + */ +public interface BrandClassShopService { + + + /** + * 鏄惁瀛樺湪 + * @param list + * @return + */ + public List<BrandClassShop> getExistByShopIds(List<Long> list); + + /** + * 娣诲姞搴楅摵淇℃伅 + * @param cid + * @param list + * @throws BrandClassShopException + */ + public String saveShopInfo(Long cid, List<Long> list) throws BrandClassShopException; + + /** + * 鏌ヨ鍒楄〃 + * @param start + * @param count + * @param key + * @param cid + * @param state + * @return + */ + public List<BrandClassShop> listQuery(long start, int count, String key, Long cid, Integer state); + + public long countQuery(String key, Long cid, Integer state); + + /** + * 鏇存柊搴楅摵淇℃伅 + * @param file + * @param id + * @param cid + * @param shopName + * @param state + * @throws BrandClassShopException + */ + public void changeShopInfo(MultipartFile file, Long id, Long cid, String shopName, Integer state, Integer top,String key) + throws BrandClassShopException; + + + /** + * 鎵归噺鍒犻櫎 + * @param list + * @return + */ + public void deleteBatchByPrimaryKey(List<Long> list); + + /* + * 鎺掑簭 + */ + public void updateOrder(Long id, Integer moveType) throws BrandClassShopException, Exception; + + /** + * 鍓嶇鏌ヨ骞剁紦瀛� + * @param page + * @param cid + * @return + */ + public JSONObject listEffectiveCache(int page, Long cid,SystemEnum system); + + /** + * 鐐瑰嚮娆℃暟 + * @param shopId + */ + public void addClick(Long shopId); + + /** + * 鏍规嵁鍒嗙被id杩涜鍒犻櫎 + * @param list + */ + public void deleteBatchByClassId(List<Long> list); + + + /** + * 鏇存柊鍝佺墝鍟嗗搧 + */ + public void updateShopGoods(); + + /** + * 搴楅摵鍒楄〃 + * @param page + * @param cid + * @return + */ + public JSONObject listEffectiveCacheV2(int page, Long cid,String platform,String version,SystemEnum system); + + + /** + * 鍏煎2.0 + * @param start + * @param count + * @param cid + * @return + */ + public List<TaoBaoShopVO> listEffectiveShop(long start, int count, Long cid,String platform,String version,SystemEnum system); + + + + public long countBrandShopinfo(Long cid); + + + /** + * 鍒嗙被涓嬪簵閾� + * @param cid + * @return + */ + public List<TaoBaoShop> listEffectiveClassShop(Long cid,SystemEnum system); + +} -- Gitblit v1.8.0