From 70e22f5f9c51a24452a877489a49c2d800b399eb Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 30 六月 2020 18:12:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div
---
fanli/src/main/java/com/yeshi/fanli/service/inter/count/HongBaoV2CountService.java | 72 +++++++++++++++++++++++++++++-------
1 files changed, 58 insertions(+), 14 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 f800284..33d9d6f 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
@@ -7,6 +7,8 @@
import com.yeshi.fanli.vo.order.HongBaoV2VO;
public interface HongBaoV2CountService {
+
+
/**
* 缁熻鍘嗗彶鎬诲埌璐﹂噾棰�
@@ -152,14 +154,6 @@
*/
public BigDecimal getRewardMoneyByInvite(Long uid);
- /**
- * 鏈夋晥涓�绾ч槦鍛樺畾涔夛細2019骞�1鏈�1鏃ヨ捣(date)锛岃嚜璐垨鍒嗕韩1绗斾笖浠樻鎬婚噾棰濅笉灏忎簬 payment 鍏冿紙閫�娆句负澶辨晥
- * @param uid
- * @param date
- * @param payment
- * @return
- */
- public long countValidOrderByUidAndTime(Long uid, Long time, BigDecimal payment);
/**
* 缁熻涓嶅悓鏃堕棿锛氬鍔�
@@ -204,17 +198,67 @@
* @param type 璁㈠崟绫诲瀷
* @return
*/
- public long counOrderByUidAndOrderType(Long uid, BigDecimal payment, int type);
+ public long countMyDirectOrderByCashArrival(Long uid, BigDecimal payment);
/**
- * 缁熻宸茬粨绠�
+ * 缁熻璁㈠崟鏁伴噺
* @param uid
- * @param time
- * @param payment
+ * @param time 涓嬪崟寮�濮嬫椂闂�
+ * @param payment 浠樻閲戦
+ * @param type 璁㈠崟绫诲瀷 1鑷喘 2鍒嗕韩
* @return
*/
- public long countOrderByUidAndSettled(Long uid, Long time, BigDecimal payment);
+ public long countMyDirectOrderByCashArrival(Long uid, BigDecimal payment, Integer type);
+
+
- public BigDecimal geBonusByuid(Long uid, Integer dateType, Integer hbType, Integer moneyState);
+ public BigDecimal geBonusByuid(Long uid, Integer dateType, Integer hbType, Integer moneyState);
+
+ /**
+ * 缁熻杩戞棩鍒拌处鏀跺叆閲戦
+ * @param uid
+ * @param day
+ * @return
+ */
+ public BigDecimal sumMoneyArrivalByUidAndNearDay(Long uid, int day);
+
+ /**
+ * 缁熻鏀惰揣閲戦
+ * @param uid
+ * @param minDate
+ * @param maxDate
+ * @return
+ */
+ public BigDecimal sumMoneyBySettleTimeAndUid(Long uid, Date minDate, Date maxDate);
+
+
+ /**
+ * 180澶╁唴鏈敹璐х殑閲戦
+ * @param uid
+ * @return
+ */
+ public BigDecimal sumMoneyByANotSettleAndUid(Long uid);
+
+
+
+ /**
+ * 缁熻宸插埌璐﹁鍗曟暟閲�
+ * @param uid
+ * @param payment -浠樻閲戦
+ * @param type -绫诲瀷锛� 1鑷喘 2鍒嗕韩 3閭�璇� 4鑷喘+鍒嗕韩
+ * @param dateType 1鏈湀
+ * @return
+ */
+ public long countOrderByCashArrival(Long uid, BigDecimal payment, Integer type, Integer dateType);
+
+ /**
+ * 缁熻鏈埌璐﹁鍗曟暟閲�
+ * @param uid
+ * @param payment -浠樻閲戦
+ * @param type -绫诲瀷锛� 1鑷喘 2鍒嗕韩 3閭�璇� 4鑷喘+鍒嗕韩
+ * @param dateType 1鏈湀
+ * @return
+ */
+ public long countOrderByCashNotArrival(Long uid, BigDecimal payment, Integer type, Integer dateType);
}
--
Gitblit v1.8.0