From 89cc8f054c27f70fcfe16f14554a8a12e0c19e23 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期三, 18 十二月 2019 09:22:31 +0800 Subject: [PATCH] 邀请统计 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 54 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 9d3ed1e..f1b7178 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, Integer state); + public List<BrandInfo> listQuery(long start, int count, List<String> keys, Long cid, Integer state, Integer showState); - public long countQuery(String key, Integer state); + public long countQuery(List<String> keys, Long cid, Integer state, Integer showState); /** * 鏌ヨ鍝佺墝杩斿洖鍓嶇 @@ -71,4 +74,52 @@ */ public List<BrandInfo> listValidBrandInfoCache(Long cid); + /** + * 鏌ヨ鍒嗙被涓嬪搧鐗� + * @param cid + * @return + */ + public List<BrandInfo> listValidByCidToApp(Long cid); + + + /** + * 鏌ヨ鍝佺墝浠ュ強瀵瑰簲鍟嗗搧 + * @param start + * @param count + * @param cid + * @return + */ + public List<BrandInfoVO> listValidToApp(long start, int count, Long cid); + + + /** + * 鏂板鍟嗗搧鎴栧簵閾轰俊鎭� + * @param start + * @param count + */ + public void addShopAndGoods(long start, int count); + + + public long countValidByCidToApp(Long cid); + + + public long countValidByCid(Long cid); + + + /** + * 鍒犻櫎涔嬪墠鐨� + * @param date + */ + public void removeAgoByDate(Date date); + + + public void updateOrder(Long id, Integer moveType) throws BrandInfoException; + + /** + * 鎼滅储鍏抽敭璇嶅尮閰嶅搧鐗� + * @param key + * @return + */ + public BrandInfoVO listByAlikeName(String key); + } -- Gitblit v1.8.0