From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java |  292 ++++++++++++++++++++++++++++++----------------------------
 1 files changed, 150 insertions(+), 142 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java
index 6eacb43..bfe0bbf 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java
@@ -1,142 +1,150 @@
-package com.yeshi.fanli.service.inter.brand;
-
-import java.util.Date;
-import java.util.List;
-
-import org.springframework.web.multipart.MultipartFile;
-
-import com.yeshi.fanli.entity.brand.BrandInfo;
-import com.yeshi.fanli.exception.brand.BrandClassException;
-import com.yeshi.fanli.exception.brand.BrandInfoException;
-import com.yeshi.fanli.vo.brand.BrandInfoVO;
-
-/**
- * 鍝佺墝淇℃伅
- * 
- * @author Administrator
- *
- */
-public interface BrandInfoService {
-
-	
-	/**
-	 * 淇濆瓨鍝佺墝淇℃伅
-	 * @param record
-	 * @throws BrandClassException
-	 * @throws Exception
-	 */
-	public void saveObject(MultipartFile file, BrandInfo record) throws BrandInfoException;
-
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * @param list
-	 * @return
-	 */
-	public int deleteBatchByPrimaryKey(List<Long> list);
-	
-	
-	/**
-	 * 鏌ヨ鍒楄〃
-	 * @param start
-	 * @param count
-	 * @param key
-	 * @param state
-	 * @return
-	 */
-	public List<BrandInfo> listQuery(long start, int count, List<String> keys, Long cid, Integer state, Integer showState);
-
-	public long countQuery(List<String> keys, Long cid, Integer state, Integer showState);
-
-	/**
-	 * 鏌ヨ鍝佺墝杩斿洖鍓嶇
-	 * @param start
-	 * @param count
-	 * @param cid
-	 * @return
-	 * @throws BrandInfoException
-	 */
-	public List<BrandInfoVO> listBrandInfoCache(long start, int count, Long cid,String platform,String version);
-
-
-	/**
-	 * 鍝佺墝鏁伴噺
-	 * @param cid
-	 * @return
-	 * @throws BrandInfoException
-	 */
-	public long countBrandInfo(Long cid);
-
-	/**
-	 * 鏈夋晥搴楅摵
-	 * @param cid
-	 * @return
-	 */
-	public  List<BrandInfo> listValidBrandInfoCache(Long cid);
-
-	/**
-	 * 鏌ヨ鍒嗙被涓嬪搧鐗�
-	 * @param cid
-	 * @return
-	 */
-	public List<BrandInfo> listValidByCidToApp(Long cid);
-
-	
-	/**
-	 * 鏌ヨ鍝佺墝浠ュ強瀵瑰簲鍟嗗搧
-	 * @param start
-	 * @param count
-	 * @param cid
-	 * @return
-	 */
-	public List<BrandInfoVO> listValidToApp(long start, int count, Long cid,String platform,String version);
-
-	
-	/**
-	 * 鏂板鍟嗗搧鎴栧簵閾轰俊鎭�
-	 * @param start
-	 * @param count
-	 */
-	public void addShopAndGoods(long start, int count);
-	
-	
-	
-	/**
-	 * 妫�绱㈡湁鏁堢殑鍝佺墝淇℃伅锛屾寜鏇存柊鏃堕棿鎺掑簭
-	 * @param page
-	 * @param pageSize
-	 * @return
-	 */
-	public List<BrandInfo>  listValidOrderByUpdateTime(int page,int pageSize);
-	
-	
-	/**
-	 * 娣诲姞鍝佺墝鍟嗗搧
-	 * @param brandList
-	 */
-	public void addShopAndGoods(List<BrandInfo> brandList);
-
-
-	public long countValidByCidToApp(Long cid);
-
-
-	public long countValidByCid(Long cid);
-
-
-	/**
-	 * 鍒犻櫎涔嬪墠鐨�
-	 * @param date
-	 */
-	public void removeAgoByDate(Date date);
-
-
-	public void updateOrder(Long id, Integer moveType) throws BrandInfoException;
-
-	/**
-	 * 鎼滅储鍏抽敭璇嶅尮閰嶅搧鐗�
-	 * @param key
-	 * @return
-	 */
-	public BrandInfoVO listByAlikeName(String key,String platform,String version);
-
-}
+package com.yeshi.fanli.service.inter.brand;
+
+import java.util.Date;
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.springframework.web.multipart.MultipartFile;
+
+import com.yeshi.fanli.entity.brand.BrandInfo;
+import com.yeshi.fanli.exception.brand.BrandClassException;
+import com.yeshi.fanli.exception.brand.BrandInfoException;
+import com.yeshi.fanli.vo.brand.BrandInfoVO;
+
+/**
+ * 鍝佺墝淇℃伅
+ * 
+ * @author Administrator
+ *
+ */
+public interface BrandInfoService {
+
+	
+	/**
+	 * 淇濆瓨鍝佺墝淇℃伅
+	 * @param record
+	 * @throws BrandClassException
+	 * @throws Exception
+	 */
+	public void saveObject(MultipartFile file, BrandInfo record) throws BrandInfoException;
+
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param list
+	 * @return
+	 */
+	public int deleteBatchByPrimaryKey(List<Long> list);
+	
+	
+	/**
+	 * 鏌ヨ鍒楄〃
+	 * @param start
+	 * @param count
+	 * @param state
+	 * @return
+	 */
+	public List<BrandInfo> listQuery(long start, int count, List<String> keys, Long cid, Integer state, Integer showState);
+
+	public long countQuery(List<String> keys, Long cid, Integer state, Integer showState);
+
+	/**
+	 * 鏌ヨ鍝佺墝杩斿洖鍓嶇
+	 * @param start
+	 * @param count
+	 * @param cid
+	 * @return
+	 * @throws BrandInfoException
+	 */
+	public List<BrandInfoVO> listBrandInfoCache(long start, int count, Long cid,String platform,String version,SystemEnum system);
+
+
+	/**
+	 * 鍝佺墝鏁伴噺
+	 * @param cid
+	 * @return
+	 * @throws BrandInfoException
+	 */
+	public long countBrandInfo(Long cid);
+
+	/**
+	 * 鏈夋晥搴楅摵
+	 * @param cid
+	 * @return
+	 */
+	public  List<BrandInfo> listValidBrandInfoCache(Long cid,SystemEnum system);
+
+	/**
+	 * 鏌ヨ鍒嗙被涓嬪搧鐗�
+	 * @param cid
+	 * @return
+	 */
+	public List<BrandInfo> listValidByCidToApp(Long cid, SystemEnum system);
+
+	
+	/**
+	 * 鏌ヨ鍝佺墝浠ュ強瀵瑰簲鍟嗗搧
+	 * @param start
+	 * @param count
+	 * @param cid
+	 * @return
+	 */
+	public List<BrandInfoVO> listValidToApp(long start, int count, Long cid,String platform,String version,SystemEnum system);
+
+	
+	/**
+	 * 鏂板鍟嗗搧鎴栧簵閾轰俊鎭�
+	 * @param start
+	 * @param count
+	 */
+	public void addShopAndGoods(long start, int count);
+	
+	
+	
+	/**
+	 * 妫�绱㈡湁鏁堢殑鍝佺墝淇℃伅锛屾寜鏇存柊鏃堕棿鎺掑簭
+	 * @param page
+	 * @param pageSize
+	 * @return
+	 */
+	public List<BrandInfo>  listValidOrderByUpdateTime(int page,int pageSize);
+	
+	
+	/**
+	 * 娣诲姞鍝佺墝鍟嗗搧
+	 * @param brandList
+	 */
+	public void addShopAndGoods(List<BrandInfo> brandList);
+
+
+	public long countValidByCidToApp(Long cid,SystemEnum system);
+
+
+	public long countValidByCid(Long cid);
+
+
+	/**
+	 * 鍒犻櫎涔嬪墠鐨�
+	 * @param date
+	 */
+	public void removeAgoByDate(Date date);
+
+
+	public void updateOrder(Long id, Integer moveType) throws BrandInfoException;
+
+	/**
+	 * 鎼滅储鍏抽敭璇嶅尮閰嶅搧鐗�
+	 * @param key
+	 * @return
+	 */
+	public BrandInfoVO listByAlikeName(String key,String platform,String version,SystemEnum system);
+
+
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws BrandInfoException
+	 */
+	public void switchState(Long id) throws BrandInfoException;
+
+}

--
Gitblit v1.8.0