From 2a3e411612bf75b81a8789127a714b5c5e28bc43 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期四, 31 十月 2019 13:55:03 +0800
Subject: [PATCH] 红包获得

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java
index 713aa4c..1c0927c 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/order/CommonOrderService.java
@@ -303,5 +303,29 @@
 	 * @return
 	 */
 	public CommonOrder selectLatestValidByUid(Long uid);
+	
+	/**
+	 * 鏌ヨ棣栫瑪鏈夋晥璁㈠崟
+	 * @param uid  
+	 * @return
+	 */
+	public CommonOrderVO firstValidOrderByUid(Long uid);
+	
+
+	/**
+	 * 鏌ヨ棣栫瑪鏈夋晥璁㈠崟
+	 * @param uid  
+	 * @param type 绫诲瀷锛� 1鑷喘  2鍒嗕韩 3閭�璇�
+	 * @return
+	 */
+	public CommonOrderVO firstValidOrderByUidAndType(Long uid, Integer type);
+
+	/**
+	 * 鏌ヨ鏄惁鏈湀鍒拌处璁㈠崟
+	 * @param uid
+	 * @param type 绫诲瀷锛� 1鑷喘  2鍒嗕韩 3閭�璇�
+	 * @return
+	 */
+	public CommonOrderVO firstValidOrderTheMonthByUidAndType(Long uid, Integer type);
 
 }

--
Gitblit v1.8.0