From 7a29e50e7e2eefe6c0e6e1deb53690147184e078 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 29 八月 2019 18:00:12 +0800 Subject: [PATCH] 队员首单 奖励上级金币 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java index ba75f30..0d8b6ba 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponGiveRecordService.java @@ -1,10 +1,59 @@ package com.yeshi.fanli.service.inter.user; +import java.util.List; + import com.yeshi.fanli.entity.bus.user.UserSystemCouponGiveRecord; public interface UserSystemCouponGiveRecordService { public void insertSelective(UserSystemCouponGiveRecord record); + /** + * 鏇存柊棰嗗彇璁板綍 + * @param receiveUid + * @param giveUid + * @param couponId + */ + public void updateByPrimaryKeySelective(UserSystemCouponGiveRecord giveRecord); + + + /** + * 鏌ヨ璧犻�佽褰� + * @param giveUid + * @param couponId + * @return + */ + public UserSystemCouponGiveRecord getRecordByUidAndCouponId(Long giveUid, Long couponId); + + + /** + * 鏈鍙栭��鍥炲埜 + * @param count + * @return + */ + public List<UserSystemCouponGiveRecord> overdueList(int count); + + + /** + * id鏌ヨ + * @param id + * @return + */ + public UserSystemCouponGiveRecord selectByPrimaryKey(Long id); + + /** + * 璧犻�侀渶閫�鍥� + * @param uid + * @return + */ + public List<UserSystemCouponGiveRecord> overdueListByUser(Long uid); + + + /** + * 棰嗗彇鐨刬d + * @param count + * @return + */ + UserSystemCouponGiveRecord getByReceiveId(Long receiveId); } -- Gitblit v1.8.0