From 51a4ff5d777028d52a19c314a99f796334cb7b51 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 23 十一月 2019 18:30:01 +0800
Subject: [PATCH] 配置文件修改

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java |  150 ++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 120 insertions(+), 30 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 4c48552..4ea0395 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
@@ -3,55 +3,81 @@
 import java.math.BigDecimal;
 import java.util.Date;
 import java.util.List;
-import java.util.Map;
 
+import com.yeshi.fanli.dto.ChartTDO;
+import com.yeshi.fanli.vo.order.HongBaoV2VO;
 
 public interface HongBaoV2CountService {
-	
+
 	/**
 	 * 缁熻鍘嗗彶鎬诲埌璐﹂噾棰�
-	 * @param uid 
-	 * @param state 
+	 * 
+	 * @param uid
+	 * @param state
 	 * @return
 	 */
 	public BigDecimal countMoneyByUidAndState(Long uid, Integer state);
-	
+
 	/**
 	 * 缁熻鍘嗗彶绾㈠寘鏁伴噺
-	 * @param uid 
-	 * @param state 
+	 * 
+	 * @param uid
+	 * @param state
 	 * @return
 	 */
 	public Integer countNumberByUidAndState(Long uid, Integer state);
-	
+
 	/**
-	 * 缁熻鎬婚噾棰�
-	 * @param channel 娓犻亾
-	 * @param dateType 鏃ユ湡鏍煎紡  鏃�-1 鏈�-2 骞�-3
-	 * @param state  鐘舵��
-	 * @param years  骞翠唤
-	 * @param startTime  寮�濮嬫椂闂�
-	 * @param endTime	  缁撴潫鏃堕棿
+	 * 缁熻鐢ㄦ埛绾㈠寘鏁伴噺
+	 * 
+	 * @param uid
 	 * @return
 	 */
-	public List<Map<String, Object>> countHongBaoMoney(String channel, Integer dateType, Integer state, String year, 
+	public Integer countNumberByUid(Long uid);
+
+	/**
+	 * 缁熻鎬婚噾棰�
+	 * 
+	 * @param channel
+	 *            娓犻亾
+	 * @param dateType
+	 *            鏃ユ湡鏍煎紡 鏃�-1 鏈�-2 骞�-3
+	 * @param state
+	 *            鐘舵��
+	 * @param years
+	 *            骞翠唤
+	 * @param startTime
+	 *            寮�濮嬫椂闂�
+	 * @param endTime
+	 *            缁撴潫鏃堕棿
+	 * @return
+	 */
+	public List<ChartTDO> countHongBaoMoney(String channel, Integer dateType, Integer state, String year,
 			String startTime, String endTime) throws Exception;
-	
+
 	/**
 	 * 缁熻鎬婚噾棰�
-	 * @param channel 娓犻亾
-	 * @param dateType 鏃ユ湡鏍煎紡  鏃�-1 鏈�-2 骞�-3
-	 * @param state  鐘舵��
-	 * @param years  骞翠唤
-	 * @param startTime  寮�濮嬫椂闂�
-	 * @param endTime	  缁撴潫鏃堕棿
+	 * 
+	 * @param channel
+	 *            娓犻亾
+	 * @param dateType
+	 *            鏃ユ湡鏍煎紡 鏃�-1 鏈�-2 骞�-3
+	 * @param state
+	 *            鐘舵��
+	 * @param years
+	 *            骞翠唤
+	 * @param startTime
+	 *            寮�濮嬫椂闂�
+	 * @param endTime
+	 *            缁撴潫鏃堕棿
 	 * @return
 	 */
-	public List<Map<String, Object>> countHongBaoNum(String channel, Integer dateType, Integer state, String year, 
+	public List<ChartTDO> countHongBaoNum(String channel, Integer dateType, Integer state, String year,
 			String startTime, String endTime) throws Exception;
 
 	/**
 	 * 鍒嗙被鍨嬭鍗曟暟涓庢瘮渚�
+	 * 
 	 * @param dateType
 	 * @param type
 	 * @param year
@@ -60,28 +86,29 @@
 	 * @return
 	 * @throws Exception
 	 */
-	public List<Map<String, Object>> getProportionByType(Integer dateType, Integer type, String year, String startTime,
+	public List<ChartTDO> getProportionByType(Integer dateType, Integer type, String year, String startTime,
 			String endTime) throws Exception;
 
 	/**
 	 * 缁熻鎻愭垚璁㈠崟鏁伴噺
+	 * 
 	 * @param uid
 	 * @return
 	 */
 	public int getTotalTiChengCount(Long uid);
 
-	
 	/**
 	 * 缁熻鏈け鏁堣鍗曟暟閲�
+	 * 
 	 * @param uid
 	 * @param dateType
 	 * @return
 	 */
 	public long countValidNumberByUid(Long uid, Integer dateType);
-	
-	
+
 	/**
 	 * 缁熻鏈埌璐﹂噾棰�
+	 * 
 	 * @param uid
 	 * @param dateType
 	 * @return
@@ -90,16 +117,18 @@
 
 	/**
 	 * 鏈�鍚庝竴娆′笅鍗曟椂闂�
+	 * 
 	 * @param uid
 	 * @return
 	 */
 	public Date getLastHongBaoTime(Long uid);
 
-	public List<Map<String, Object>> count24HOderByChannel(String channel, Integer type, String years, String startTime,
+	public List<ChartTDO> count24HOderByChannel(String channel, Integer type, String years, String startTime,
 			String endTime) throws Exception;
 
 	/**
 	 * 缁熻鎵�鏈夌被鍨嬭鍗曟暟閲�
+	 * 
 	 * @param dateType
 	 * @param type
 	 * @param year
@@ -108,7 +137,68 @@
 	 * @return
 	 * @throws Exception
 	 */
-	public List<Map<String, Object>> countHongBaoType(Integer dateType, Integer type, String year, String startTime,
+	public List<ChartTDO> 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);
+
+	/**
+	 * 濂栧姳鍒搁噾棰�
+	 * 
+	 * @return
+	 */
+	public BigDecimal countRebateCouponMoney();
+
+	/**
+	 * 缁熻杩斿埄璁㈠崟
+	 * @param uid
+	 * @return
+	 */
+	public long countRebateOrder(Long uid);
+
+	/**
+	 * 缁熻鍒嗕韩+ 閭�璇疯鍗�
+	 * @param uid
+	 * @return
+	 */
+	public long countShareOrInviteOrder(Long uid);
 	
+	/**
+	 * 缁熻宸插埌璐�
+	 * 
+	 * @param uid
+	 * @param typeList
+	 * @param minGetTime
+	 * @param maxGetTime
+	 * @return
+	 */
+	public BigDecimal sumAlreadyGetMoneyByUid(Long uid, List<Integer> typeList, Date minGetTime, Date maxGetTime);
+
+	public long countAlreadyGetMoneyByUid(Long uid, List<Integer> typeList, Date minGetTime, Date maxGetTime);
+
+	/**
+	 * 鏌ヨ鏉ユ簮璇ヤ笅绾ф垚鍔熷垎浜閲戞椿鍔�
+	 * @param uid
+	 * @param teamUid
+	 * @param endTime
+	 * @return
+	 */
+	public BigDecimal getShareRewardByTeamUid(Long uid, Long teamUid, Date endTime);
+
+	/**
+	 * 缁熻涓嬬骇涓婁釜鏈夋晥璁㈠崟
+	 * @param uid
+	 * @param teamUid 涓嬬骇id
+	 * @return
+	 */
+	public BigDecimal getShareRewardByTeamUidLastMonth(Long uid, Long teamUid);
+
 }

--
Gitblit v1.8.0