From 8ce7c720e4e7a604b0ff770349b5556f39d37759 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 13 九月 2021 11:44:38 +0800
Subject: [PATCH] 好省呗应用兼容

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackDetailMapper.java |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackDetailMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackDetailMapper.java
index 16ecd07..1511cc3 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackDetailMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/redpack/RedPackDetailMapper.java
@@ -94,4 +94,61 @@
 	 * @return
 	 */
 	Long selectCountByUidAndMaxCreateTime(@Param("uid") Long uid, @Param("date") Date date);
+	
+	
+	
+	/**
+	 * 鏍规嵁鏃ユ湡绫诲瀷缁熻鑾峰緱閲戦
+	 * @param uid
+	 * @param dateType 1浠婃棩 銆�2鏄ㄦ棩銆�3鏈湀銆�4涓婃湀
+	 * @return
+	 */
+	BigDecimal countWinMoneyByDate(@Param("uid")long uid, @Param("dateType")int dateType);
+	
+	/**
+	 * 鏍规嵁鏃ユ湡绫诲瀷缁熻娑堣�楅噾棰�
+	 * @param uid
+	 * @param dateType 1浠婃棩 銆�2鏄ㄦ棩銆�3鏈湀銆�4涓婃湀
+	 * @return
+	 */
+	BigDecimal countReduceMoneyByDate(@Param("uid")long uid, @Param("dateType")int dateType);
+	
+	
+	
+	/**
+	 * 鍒楄〃鏌ヨ
+	 * 
+	 * @param key
+	 * @param state
+	 * @param start
+	 * @param count
+	 * @return
+	 */
+	List<RedPackDetail> query(@Param("start") long start,@Param("count") int count,@Param("key") String key, @Param("uid") Long uid,
+			@Param("type") Integer type);
+
+	/**
+	 * 璁℃暟
+	 * 
+	 * @param key
+	 * @param state
+	 * @return
+	 */
+	long count(@Param("key") String key, @Param("uid") Long uid, @Param("type") Integer type);
+	
+	
+	/**
+	 *  缁熻姣忔棩鏂板绾㈠寘
+	 * @param preDay
+	 * @return
+	 */
+	Long countNumByDay(@Param("preDay") String preDay);
+	
+	/**
+	 *  缁熻姣忔棩鏂板绾㈠寘
+	 * @param preDay
+	 * @return
+	 */
+	BigDecimal countMoneyByDay(@Param("preDay") String preDay);
+	
 }
\ No newline at end of file

--
Gitblit v1.8.0