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 | 13 ++++++++++++- 1 files changed, 12 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 384725e..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,6 @@ package com.yeshi.fanli.service.inter.brand; +import java.util.Date; import java.util.List; import com.yeshi.fanli.entity.brand.BrandGoodsCahe; @@ -13,7 +14,7 @@ */ public interface BrandGoodsCaheService { - public int addBrandGoods(BrandInfo brandInfo); + public BrandInfo addBrandGoods(BrandInfo brandInfo); /** * 鏌ヨ鍝佺墝鍟嗗搧 @@ -24,6 +25,10 @@ */ public List<BrandGoodsCahe> getByBrandId(int start, int count, Long brandId); + + public void removeByBrandId(Long brandId); + + /** * 缁熻鍝佺墝鍟嗗搧鏁伴噺 * @param brandId @@ -31,4 +36,10 @@ */ public long countByBrandId(Long brandId); + /** + * 鍒犻櫎涔嬪墠鐨� + * @param createTime + */ + public void removeAgoByDate(Date createTime); + } -- Gitblit v1.8.0