From 85696b23af4055e2e7f53b309e0cc071fe8573b4 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期三, 13 三月 2019 12:14:05 +0800 Subject: [PATCH] 奖金榜调整 --- fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java index 8d57a06..3254232 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java @@ -1,8 +1,11 @@ package com.yeshi.fanli.service.inter.count; import java.math.BigDecimal; +import java.util.Date; import java.util.List; import java.util.Map; + +import com.yeshi.fanli.vo.order.HongBaoV2VO; public interface HongBaoV2CountService { @@ -68,8 +71,55 @@ * @return */ public int getTotalTiChengCount(Long uid); + + + /** + * 缁熻鏈け鏁堣鍗曟暟閲� + * @param uid + * @param dateType + * @return + */ + public long countValidNumberByUid(Long uid, Integer dateType); - + /** + * 缁熻鏈埌璐﹂噾棰� + * @param uid + * @param dateType + * @return + */ + public BigDecimal countWillGetMoneyByUid(Long uid); + + /** + * 鏈�鍚庝竴娆′笅鍗曟椂闂� + * @param uid + * @return + */ + public Date getLastHongBaoTime(Long uid); + + public List<Map<String, Object>> count24HOderByChannel(String channel, Integer type, String years, String startTime, + String endTime) throws Exception; + + /** + * 缁熻鎵�鏈夌被鍨嬭鍗曟暟閲� + * @param dateType + * @param type + * @param year + * @param startTime + * @param endTime + * @return + * @throws Exception + */ + public List<Map<String, Object>> countHongBaoType(Integer dateType, Integer type, String year, String startTime, + String endTime) throws Exception; + + /** + * 鏌ヨ閭�璇�=鍒嗕韩濂栭噾 + * @param start + * @param count + * @param date + * @return + */ + public List<HongBaoV2VO> listShareAndInviteMoney(long start, int count, String date); } -- Gitblit v1.8.0