From cd637932a970e7935b17d41568fe89c92775bccc Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 06 十二月 2019 17:18:27 +0800
Subject: [PATCH] 双12活动添加,邀请码发布修改,爬单新规则添加

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractWeiXinRecordMapper.java |   34 +++++++++++++++++++++++++++-------
 1 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractWeiXinRecordMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractWeiXinRecordMapper.java
index 157e5c6..b586470 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractWeiXinRecordMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractWeiXinRecordMapper.java
@@ -1,8 +1,28 @@
-package com.yeshi.fanli.dao.mybatis;
-
-import com.yeshi.fanli.dao.BaseMapper;
-import com.yeshi.fanli.entity.bus.user.ExtractWeiXinRecord;
-
-public interface ExtractWeiXinRecordMapper extends BaseMapper<ExtractWeiXinRecord> {
-
+package com.yeshi.fanli.dao.mybatis;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.dao.BaseMapper;
+import com.yeshi.fanli.entity.bus.user.ExtractWeiXinRecord;
+
+public interface ExtractWeiXinRecordMapper extends BaseMapper<ExtractWeiXinRecord> {
+	
+	
+	/**
+	 *  鏍规嵁openid銆佸彂鏀炬柟寮忔煡璇�
+	 * @param list
+	 * @return
+	 */
+	ExtractWeiXinRecord getByOpenIdAndType(@Param("openId")String openId, @Param("type") Integer type);
+	
+	
+	/**
+	 * 鏌ヨ婊¤冻鏉′欢鐨勭敤鎴穒d
+	 * @param list
+	 * @return
+	 */
+	List<Long> getValidUsers(@Param("list")List<Long> list,@Param("receivedDate") String receivedDate,
+			@Param("refundDate") String refundDate);
 }
\ No newline at end of file

--
Gitblit v1.8.0