From 28a0efc6ec16f3f82eb8e16e87269300d6744fd4 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 25 九月 2019 19:18:17 +0800
Subject: [PATCH] 金币版本拦截与频率拦截bug修改

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java |   39 ++++++++++++++++++++++++++++++++++++---
 1 files changed, 36 insertions(+), 3 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 9d3ed1e..0033531 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
@@ -2,6 +2,8 @@
 
 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;
@@ -22,7 +24,7 @@
 	 * @throws BrandClassException
 	 * @throws Exception
 	 */
-	public void saveObject(BrandInfo record) throws BrandInfoException;
+	public void saveObject(MultipartFile file, BrandInfo record) throws BrandInfoException;
 
 	
 	/**
@@ -41,9 +43,9 @@
 	 * @param state
 	 * @return
 	 */
-	public List<BrandInfo> listQuery(long start, int count, String key, Integer state);
+	public List<BrandInfo> listQuery(long start, int count, String key, Long cid, Integer state);
 
-	public long countQuery(String key, Integer state);
+	public long countQuery(String key, Long cid, Integer state);
 
 	/**
 	 * 鏌ヨ鍝佺墝杩斿洖鍓嶇
@@ -71,4 +73,35 @@
 	 */
 	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);
+
+	
+	/**
+	 * 鏂板鍟嗗搧鎴栧簵閾轰俊鎭�
+	 * @param start
+	 * @param count
+	 */
+	public void addShopAndGoods(long start, int count);
+
+
+	public long countValidByCidToApp(Long cid);
+
+
+	public long countValidByCid(Long cid);
+
 }

--
Gitblit v1.8.0