From 5bd2eab496e194dd6c5a6aed57a5e1d5d5746b87 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期三, 17 七月 2019 16:50:12 +0800
Subject: [PATCH] 账户等级福利-收回时间改为30天收回;红包扣除消息模板改备注:未被领取或领取后未使用部分退回

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponRecordMapper.java |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponRecordMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponRecordMapper.java
index 11d8152..95192c3 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponRecordMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponRecordMapper.java
@@ -16,6 +16,15 @@
 	 * @param listCouponId
 	 * @return
 	 */
+	List<UserSystemCouponRecord> getRecordByState(@Param("uid") Long uid, @Param("state") Integer state);
+	
+	/**
+	 * 鏍规嵁鍗曚釜璁㈠崟鏌ヨ
+	 * @param uid
+	 * @param activated
+	 * @param listCouponId
+	 * @return
+	 */
 	UserSystemCouponRecord getRecordByOrderNo(@Param("orderNo") String orderNo, @Param("state") Integer state);
 	
 	
@@ -28,4 +37,13 @@
 	 */
 	List<UserSystemCouponRecord> getRecordByOrderNoList(@Param("list") List<String> list);
 	
+	
+	/**
+	 * 鏌ヨ姝e湪浣跨敤涓� 瓒呰繃鏃堕棿浠嶆湭鍖归厤鍒拌鍗曡褰�
+	 * @param uid
+	 * @param seconds
+	 * @return
+	 */
+	List<UserSystemCouponRecord> getCouponByUsingTimeOut(@Param("uid") Long uid, @Param("number") Long number);
+	
 }
\ No newline at end of file

--
Gitblit v1.8.0