From fe879975a3e8a0a1aa280fb839e02d159bfbcff8 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 27 八月 2019 18:04:38 +0800
Subject: [PATCH] 金币任务多次获取bug修改

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponGiveRecordServiceImpl.java |   12 ++++++++++++
 1 files changed, 12 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 9969d5e..6a42f30 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;
@@ -21,6 +23,11 @@
 	}
 	
 	@Override
+	public UserSystemCouponGiveRecord selectByPrimaryKey(Long id) {
+		return userSystemCouponGiveRecordMapper.selectByPrimaryKey(id);
+	}
+	
+	@Override
 	public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId) {
 		return userSystemCouponGiveRecordMapper.getRecordByUidAndCouponId(giveUid, couponId);
 	}
@@ -29,4 +36,9 @@
 	public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord) {
 		userSystemCouponGiveRecordMapper.updateByPrimaryKeySelective(giveRecord);
 	}
+	
+	@Override
+	public List<UserSystemCouponGiveRecord> overdueList(int count) {
+		return userSystemCouponGiveRecordMapper.overdueList(count);
+	}
 }

--
Gitblit v1.8.0