From cd637932a970e7935b17d41568fe89c92775bccc Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 06 十二月 2019 17:18:27 +0800 Subject: [PATCH] 双12活动添加,邀请码发布修改,爬单新规则添加 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java | 19 ++++++++++++++++--- 1 files changed, 16 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 069d925..526c956 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 @@ -1,6 +1,9 @@ package com.yeshi.fanli.service.inter.brand; +import java.util.Date; import java.util.List; + +import org.springframework.web.multipart.MultipartFile; import com.yeshi.fanli.entity.brand.BrandInfo; import com.yeshi.fanli.exception.brand.BrandClassException; @@ -22,7 +25,7 @@ * @throws BrandClassException * @throws Exception */ - public void saveObject(BrandInfo record) throws BrandInfoException; + public void saveObject(MultipartFile file, BrandInfo record) throws BrandInfoException; /** @@ -41,9 +44,9 @@ * @param state * @return */ - public List<BrandInfo> listQuery(long start, int count, String key, Long cid, Integer state); + public List<BrandInfo> listQuery(long start, int count, List<String> keys, Long cid, Integer state, Integer showState); - public long countQuery(String key, Long cid, Integer state); + public long countQuery(List<String> keys, Long cid, Integer state, Integer showState); /** * 鏌ヨ鍝佺墝杩斿洖鍓嶇 @@ -102,4 +105,14 @@ public long countValidByCid(Long cid); + + /** + * 鍒犻櫎涔嬪墠鐨� + * @param date + */ + public void removeAgoByDate(Date date); + + + public void updateOrder(Long id, Integer moveType) throws BrandInfoException; + } -- Gitblit v1.8.0