From 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 26 四月 2024 18:02:17 +0800 Subject: [PATCH] 唯品会链接解析升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserSystemCouponCountService.java | 218 +++++++++++++++++++++++++++++------------------------- 1 files changed, 116 insertions(+), 102 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserSystemCouponCountService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserSystemCouponCountService.java index 633315d..db13572 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserSystemCouponCountService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserSystemCouponCountService.java @@ -1,102 +1,116 @@ -package com.yeshi.fanli.service.inter.count; - -import java.math.BigDecimal; -import java.util.List; - -import com.yeshi.fanli.entity.system.SystemCoupon.CouponTypeEnum; -import com.yeshi.fanli.vo.user.SystemCouponVO; -import com.yeshi.fanli.vo.user.UserSystemCouponCountVO; - -public interface UserSystemCouponCountService { - - /** - * 濂栧姳鍒哥粺璁� - * @param start - * @param count - * @param key - * @param keyType - * @param state - * @param percent - * @return - */ - public List<UserSystemCouponCountVO> listRebateCoupon(long start, int count, String key, Integer keyType, Integer state, - Integer percent); - - public long countRebateCoupon(String key, Integer keyType, Integer state, Integer percent); - - /** - * 鍏嶅崟鍒� - * @param start - * @param count - * @param key - * @param keyType - * @param state - * @return - */ - public List<UserSystemCouponCountVO> listFreeCoupon(long start, int count, String key, Integer keyType, Integer state, Integer activated); - - public long countFreeCoupon(String key, Integer keyType, Integer state, Integer activated); - - /** - * 鍏嶅崟鍒镐娇鐢ㄨ褰� - * @param start - * @param count - * @param key - * @param keyType - * @param state - * @return - */ - public List<UserSystemCouponCountVO> listFreeCouponRecord(long start, int count, String key, Integer keyType, - Integer state); - - public long countFreeCouponRecord(String key, Integer keyType, Integer state); - - /** - * 绯荤粺濂栧姳鍒搁噾棰濈粺璁� - * @param start - * @param count - * @param key - * @param sort - * @return - */ - public List<SystemCouponVO> listSystemCouponByRebate(long start, int count, String key, Integer sort); - - public long countSystemCouponRebate(String key); - - /** - * 鍏嶅崟鍒哥粺璁� - * @param start - * @param count - * @param key - * @param sort - * @return - */ - public List<SystemCouponVO> listSystemCouponByFree(long start, int count, String key, Integer sort); - - public long countSystemCouponFree(String key); - - - /** - * 鏍规嵁鍒哥被鍨� 缁熻鍏嶅崟閲戦 - * @param typeEnum - * @param preDay - * @return - */ - public BigDecimal countFreeMoneyByTypeAndDay(CouponTypeEnum typeEnum, String preDay); - - /** - * 缁熻濂栧姳鍒告垚鍔熼噾棰� - * @param preDay - * @return - */ - public BigDecimal countRebateMoneyByDay(String preDay); - - /** - * 姣忔棩鏂板鍒告暟閲� - * @param typeEnum - * @param preDay - * @return - */ - public BigDecimal countCouponNumByDay(CouponTypeEnum typeEnum, String preDay); - -} +package com.yeshi.fanli.service.inter.count; + +import java.math.BigDecimal; +import java.util.List; + +import com.yeshi.fanli.entity.system.SystemCoupon.CouponTypeEnum; +import com.yeshi.fanli.vo.user.SystemCouponVO; +import com.yeshi.fanli.vo.user.UserSystemCouponCountVO; + +public interface UserSystemCouponCountService { + + /** + * 濂栧姳鍒哥粺璁� + * @param start + * @param count + * @param key + * @param keyType + * @param state + * @param percent + * @return + */ + public List<UserSystemCouponCountVO> listRebateCoupon(long start, int count, String key, Integer keyType, Integer state, + Integer percent); + + public long countRebateCoupon(String key, Integer keyType, Integer state, Integer percent); + + /** + * 鍏嶅崟鍒� + * @param start + * @param count + * @param key + * @param keyType + * @param state + * @return + */ + public List<UserSystemCouponCountVO> listFreeCoupon(long start, int count, String key, Integer keyType, Integer state, Integer activated); + + public long countFreeCoupon(String key, Integer keyType, Integer state, Integer activated); + + /** + * 鍏嶅崟鍒镐娇鐢ㄨ褰� + * @param start + * @param count + * @param key + * @param keyType + * @param state + * @return + */ + public List<UserSystemCouponCountVO> listFreeCouponRecord(long start, int count, String key, Integer keyType, + Integer state); + + public long countFreeCouponRecord(String key, Integer keyType, Integer state); + + /** + * 绯荤粺濂栧姳鍒搁噾棰濈粺璁� + * @param start + * @param count + * @param key + * @param sort + * @return + */ + public List<SystemCouponVO> listSystemCouponByRebate(long start, int count, String key, Integer sort); + + public long countSystemCouponRebate(String key); + + /** + * 鍏嶅崟鍒哥粺璁� + * @param start + * @param count + * @param key + * @param sort + * @return + */ + public List<SystemCouponVO> listSystemCouponByFree(long start, int count, String key, Integer sort); + + public long countSystemCouponFree(String key); + + + /** + * 鏍规嵁鍒哥被鍨� 缁熻鍏嶅崟閲戦 + * @param typeEnum + * @param preDay + * @return + */ + public BigDecimal countFreeMoneyByTypeAndDay(CouponTypeEnum typeEnum, String preDay); + + /** + * 缁熻濂栧姳鍒告垚鍔熼噾棰� + * @param preDay + * @return + */ + public BigDecimal countRebateMoneyByDay(String preDay); + + /** + * 姣忔棩鏂板鍒告暟閲� + * @param typeEnum + * @param preDay + * @return + */ + public BigDecimal countCouponNumByDay(CouponTypeEnum typeEnum, String preDay); + + /** + * 缁熻鍒告暟閲� + * @param state + * @param activated + * @param list + * @param listSource + * @return + */ + public long countCouponNum(Long uid, Integer state, Integer activated, List<String> list, List<String> listSource); + + public BigDecimal countCouponNumByDay(CouponTypeEnum typeEnum, String preDay, String source); + + public BigDecimal countFreeMoneyByTypeAndDay(CouponTypeEnum typeEnum, String preDay, String source); + +} -- Gitblit v1.8.0