From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 28 十一月 2020 16:37:05 +0800
Subject: [PATCH] 大淘客搜索接口升级

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoV2Service.java |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoV2Service.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoV2Service.java
index 5ec20aa..bde255a 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoV2Service.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/HongBaoV2Service.java
@@ -5,10 +5,12 @@
 import java.util.List;
 
 import com.yeshi.fanli.dto.HongBaoDTO;
+import com.yeshi.fanli.dto.order.HongBaoAddResult;
 import com.yeshi.fanli.entity.bus.user.HongBaoV2;
 import com.yeshi.fanli.entity.order.CommonOrder;
 import com.yeshi.fanli.exception.order.HongBaoException;
 import com.yeshi.fanli.exception.user.UserAccountException;
+import org.omg.CORBA.PUBLIC_MEMBER;
 
 public interface HongBaoV2Service {
 
@@ -34,7 +36,7 @@
 	 * @return 0-鏈坊鍔犱篃鏈洿鏂� 1-鍙坊鍔� 2-鍙洿鏂� 12-鏈夋坊鍔犱篃鏈夋洿鏂�
 	 * @throws HongBaoException
 	 */
-	public int addHongBao(List<CommonOrder> commonOrder, int type) throws HongBaoException,UserAccountException ;
+	public HongBaoAddResult addHongBao(List<CommonOrder> commonOrder, int type) throws HongBaoException,UserAccountException ;
 
 	/**
 	 * 濂栭噾鍒楄〃锛�1.4.9涔嬪墠鐨勭増鏈級
@@ -188,4 +190,19 @@
 	 * @return
 	 */
 	public List<HongBaoDTO> listByOrderTradeId(String tradeId);
+
+	/**
+	 * 鏌ヨ鐩存帴涓婄骇褰撴椂鑾峰緱绾㈠寘绛夌骇
+	 * @param pid
+	 * @return
+	 */
+	public Integer getDirectBossUrankByPid(Long pid);
+
+
+	/**
+	 * 璁剧疆绾㈠寘宸查鍙�
+	 * @param uid
+	 * @param preGetTime
+	 */
+	public void setHongBaoRecieved(Long uid,List<Integer> typeList, Date preGetTime);
 }

--
Gitblit v1.8.0