From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 23 五月 2020 09:54:38 +0800
Subject: [PATCH] 足迹、收藏订单兼容新需求

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandGoodsCaheService.java |   32 +++++++++++++++++++++++++++++++-
 1 files changed, 31 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandGoodsCaheService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandGoodsCaheService.java
index b784144..2dcef35 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandGoodsCaheService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandGoodsCaheService.java
@@ -1,5 +1,9 @@
 package com.yeshi.fanli.service.inter.brand;
 
+import java.util.Date;
+import java.util.List;
+
+import com.yeshi.fanli.entity.brand.BrandGoodsCahe;
 import com.yeshi.fanli.entity.brand.BrandInfo;
 
 /**
@@ -10,6 +14,32 @@
  */
 public interface BrandGoodsCaheService {
 
-	public int addBrandGoods(BrandInfo brandInfo);
+	public BrandInfo addBrandGoods(BrandInfo brandInfo);
+
+	/**
+	 * 鏌ヨ鍝佺墝鍟嗗搧
+	 * @param start
+	 * @param count
+	 * @param brandId
+	 * @return
+	 */
+	public List<BrandGoodsCahe> getByBrandId(int start, int count, Long brandId);
+
+	
+	public void removeByBrandId(Long brandId);
+	
+	
+	/**
+	 * 缁熻鍝佺墝鍟嗗搧鏁伴噺
+	 * @param brandId
+	 * @return
+	 */
+	public long countByBrandId(Long brandId);
+
+	/**
+	 * 鍒犻櫎涔嬪墠鐨�
+	 * @param createTime
+	 */
+	public void removeAgoByDate(Date createTime);
 
 }

--
Gitblit v1.8.0