From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandGoodsCaheService.java | 14 +++++++++++++- 1 files changed, 13 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..39cd9c7 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,7 +1,9 @@ package com.yeshi.fanli.service.inter.brand; +import java.util.Date; import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import com.yeshi.fanli.entity.brand.BrandGoodsCahe; import com.yeshi.fanli.entity.brand.BrandInfo; @@ -13,7 +15,7 @@ */ public interface BrandGoodsCaheService { - public int addBrandGoods(BrandInfo brandInfo); + public BrandInfo addBrandGoods(BrandInfo brandInfo, SystemEnum system); /** * 鏌ヨ鍝佺墝鍟嗗搧 @@ -24,6 +26,10 @@ */ public List<BrandGoodsCahe> getByBrandId(int start, int count, Long brandId); + + public void removeByBrandId(Long brandId); + + /** * 缁熻鍝佺墝鍟嗗搧鏁伴噺 * @param brandId @@ -31,4 +37,10 @@ */ public long countByBrandId(Long brandId); + /** + * 鍒犻櫎涔嬪墠鐨� + * @param createTime + */ + public void removeAgoByDate(Date createTime); + } -- Gitblit v1.8.0