From 51a4ff5d777028d52a19c314a99f796334cb7b51 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 23 十一月 2019 18:30:01 +0800 Subject: [PATCH] 配置文件修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandGoodsCaheService.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 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..e1af5bd 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; /** @@ -12,4 +16,30 @@ public int 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