From 8b2191df2f7d94aa299bd43dcbe97c94e5a61bbd Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 20 十一月 2019 14:53:34 +0800
Subject: [PATCH] RocketMQ的消息整改

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java
index ece6ab3..842678c 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java
@@ -2,6 +2,7 @@
 
 import java.math.BigDecimal;
 
+import com.yeshi.fanli.entity.redpack.RedPackGiveRecord;
 import com.yeshi.fanli.exception.redpack.RedPackGiveRecordException;
 
 public interface RedPackGiveRecordService {
@@ -15,5 +16,34 @@
 	 */
 	public String giving(Long uid, BigDecimal amount) throws RedPackGiveRecordException;
 
+	/**
+	 * 鏌ヨ璁板綍
+	 * @param id
+	 * @return
+	 */
+	public RedPackGiveRecord selectByPrimaryKey(Long id);
+
+	/**
+	 * 鏇存柊璁板綍
+	 * @param record
+	 */
+	public void updateByPrimaryKeySelective(RedPackGiveRecord record);
+
+	/**
+	 * 鍙d护绾㈠寘棰嗗彇
+	 * @param uid
+	 * @param id
+	 * @throws RedPackGiveRecordException
+	 */
+	public RedPackGiveRecord receiveFriendsGive(Long uid, Long id) throws RedPackGiveRecordException;
+
+
+	/**
+	 * 璧犻�侀��鍥�
+	 * @param id
+	 * @throws Exception
+	 */
+	public void overdueByPrimaryKey(Long id) throws Exception;
+
 
 }

--
Gitblit v1.8.0