From a4e4101f3e68aaaeea3e280ad89b20818f40f534 Mon Sep 17 00:00:00 2001
From: yj <Administrator@192>
Date: 星期六, 14 三月 2020 15:15:26 +0800
Subject: [PATCH] 分享订单奖励 计算说明

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java
index a344766..d6a4642 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/count/HongBaoV2CountServiceImpl.java
@@ -349,8 +349,12 @@
 	}
 	
 	@Override
-	public long countValidOrderTeamUserByUid(Long uid, Long time, BigDecimal payment) {
-		return hongBaoV2CountMapper.countValidOrderTeamUserByUid(uid, time, payment);
+	public long countValidOrderByUidAndTime(Long uid, Long time, BigDecimal payment) {
+		Long count = hongBaoV2CountMapper.countValidOrderByUidAndTime(uid, time, payment);
+		if (count == null) {
+			count = 0L;
+		}
+		return count;
 	}
 	
 	@Override

--
Gitblit v1.8.0