From e1dcef9d29c8de98c603cd4880f6b272c23f1cc0 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 29 八月 2019 11:53:04 +0800 Subject: [PATCH] 券退回 --- fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponGiveRecordServiceImpl.java | 22 ++++++++++++++++++++++ 1 files changed, 22 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..2f0867e 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,19 @@ public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord) { userSystemCouponGiveRecordMapper.updateByPrimaryKeySelective(giveRecord); } + + @Override + public List<UserSystemCouponGiveRecord> overdueList(int count) { + return userSystemCouponGiveRecordMapper.overdueList(count); + } + + @Override + public List<UserSystemCouponGiveRecord> overdueListByUser(Long uid) { + return userSystemCouponGiveRecordMapper.overdueListByUser(uid); + } + + @Override + public UserSystemCouponGiveRecord getByReceiveId(Long receiveId) { + return userSystemCouponGiveRecordMapper.getByReceiveId(receiveId); + } } -- Gitblit v1.8.0