From eec7e789a87863c25d92c10ad5dfc22ad80c448d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 14 七月 2020 12:36:48 +0800
Subject: [PATCH] 系统区分BUG修复

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java |   39 ++++++++++++++++++++++++++++++++-------
 1 files changed, 32 insertions(+), 7 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 f1b7178..751a54f 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
@@ -3,6 +3,7 @@
 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;
@@ -40,7 +41,6 @@
 	 * 鏌ヨ鍒楄〃
 	 * @param start
 	 * @param count
-	 * @param key
 	 * @param state
 	 * @return
 	 */
@@ -56,7 +56,7 @@
 	 * @return
 	 * @throws BrandInfoException
 	 */
-	public List<BrandInfoVO> listBrandInfoCache(long start, int count, Long cid);
+	public List<BrandInfoVO> listBrandInfoCache(long start, int count, Long cid,String platform,String version,SystemEnum system);
 
 
 	/**
@@ -72,14 +72,14 @@
 	 * @param cid
 	 * @return
 	 */
-	public  List<BrandInfo> listValidBrandInfoCache(Long cid);
+	public  List<BrandInfo> listValidBrandInfoCache(Long cid,SystemEnum system);
 
 	/**
 	 * 鏌ヨ鍒嗙被涓嬪搧鐗�
 	 * @param cid
 	 * @return
 	 */
-	public List<BrandInfo> listValidByCidToApp(Long cid);
+	public List<BrandInfo> listValidByCidToApp(Long cid, SystemEnum system);
 
 	
 	/**
@@ -89,7 +89,7 @@
 	 * @param cid
 	 * @return
 	 */
-	public List<BrandInfoVO> listValidToApp(long start, int count, Long cid);
+	public List<BrandInfoVO> listValidToApp(long start, int count, Long cid,String platform,String version,SystemEnum system);
 
 	
 	/**
@@ -98,9 +98,26 @@
 	 * @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 countValidByCidToApp(Long cid,SystemEnum system);
 
 
 	public long countValidByCid(Long cid);
@@ -120,6 +137,14 @@
 	 * @param key
 	 * @return
 	 */
-	public BrandInfoVO listByAlikeName(String key);
+	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