From 616608ec1005bff373bc380ecc3bf02a1063497c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 19 八月 2019 17:42:07 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponGiveRecordServiceImpl.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponGiveRecordServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponGiveRecordServiceImpl.java
index ea5cef5..4b8d717 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponGiveRecordServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponGiveRecordServiceImpl.java
@@ -1,5 +1,7 @@
 package com.yeshi.fanli.service.impl.user;
 
+import java.util.List;
+
 import javax.annotation.Resource;
 
 import org.springframework.stereotype.Service;
@@ -20,4 +22,18 @@
 		userSystemCouponGiveRecordMapper.insertSelective(record);
 	}
 	
+	@Override
+	public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId) {
+		return userSystemCouponGiveRecordMapper.getRecordByUidAndCouponId(giveUid, couponId);
+	}
+	
+	@Override
+	public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord) {
+		userSystemCouponGiveRecordMapper.updateByPrimaryKeySelective(giveRecord);
+	}
+	
+	@Override
+	public List<UserSystemCouponGiveRecord> overdueList(int count) {
+		return userSystemCouponGiveRecordMapper.overdueList(count);
+	}
 }

--
Gitblit v1.8.0