From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/service/inter/count/UserSystemCouponCountService.java | 227 +++++++++++++++++++++++++++++--------------------------- 1 files changed, 116 insertions(+), 111 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 11c4dab..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,111 +1,116 @@ -package com.yeshi.fanli.service.inter.count; - -import java.util.List; -import java.util.Map; - -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 dateType - * @param year - * @param startTime - * @param endTime - * @return - */ - public List<Map<String, Object>> getRebateCouponUsedNumToCharts(Integer dateType, String year, String startTime, - String endTime); - - /** - * 濂栧姳鍒镐娇鐢ㄦ垚鍔熼噾棰濇洸绾垮浘 - * @param dateType - * @param year - * @param startTime - * @param endTime - * @return - */ - public List<Map<String, Object>> getRebateCouponMoneyToCharts(Integer dateType, String year, String startTime, - String endTime); - - /** - * 缁熻鍏嶅崟鍒搁噾棰� - * @param dateType - * @param year - * @param startTime - * @param endTime - * @param couponType - * @return - */ - public List<Map<String, Object>> getFreeCouponMoneyToCharts(Integer dateType, String year, String startTime, - String endTime, String couponType); - -} +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