From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java |  419 ++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 216 insertions(+), 203 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java
index c4107cb..15dddee 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/HongBaoV2CountMapper.java
@@ -1,204 +1,217 @@
-package com.yeshi.fanli.dao.mybatis;
-
-import java.math.BigDecimal;
-import java.util.Date;
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.vo.order.HongBaoV2VO;
-
-public interface HongBaoV2CountMapper {
-
-	/**
-	 * 缁熻鍘嗗彶鎬诲埌璐﹂噾棰�
-	 * 
-	 * @param uid
-	 * @param state
-	 * @return
-	 */
-	BigDecimal countMoneyByUidAndState(@Param("uid") Long uid, @Param("state") Integer state);
-
-	/**
-	 * 缁熻鍘嗗彶绾㈠寘鏁伴噺
-	 * 
-	 * @param uid
-	 * @param state
-	 * @return
-	 */
-	Integer countNumberByUidAndState(@Param("uid") Long uid, @Param("state") Integer state);
-
-	/**
-	 * 缁熻鐢ㄦ埛鎬荤殑绾㈠寘鏁伴噺
-	 * 
-	 * @param uid
-	 * @return
-	 */
-	Long countNumberByUid(@Param("uid") Long uid);
-
-
-
-
-	// 绱鎻愭垚璁㈠崟鏁伴噺锛堝寘鍚棤鏁堣鍗曪級
-	int getTotalTiChengCount(Long uid);
-	
-	
-	// 绱鎻愭垚绾㈠寘鏁伴噺锛堝寘鍚棤鏁堬級
-	long getHongBaoCount(@Param("uid") Long uid, @Param("type") Integer type);
-
-	/**
-	 * 缁熻鏈け鏁堣鍗曟暟閲�
-	 * 
-	 * @param uid
-	 * @param dateType
-	 * @return
-	 */
-	long countValidNumberByUid(@Param("uid") Long uid, @Param("dateType") Integer dateType);
-
-	/**
-	 * 缁熻鏈埌璐�
-	 * 
-	 * @param uid
-	 * @return
-	 */
-	BigDecimal countWillGetMoneyByUid(@Param("uid") Long uid);
-
-	Date getLastHongBaoTime(@Param("uid") Long uid);
-
-
-	List<HongBaoV2VO> listShareAndInviteMoney(@Param("start") long start, @Param("count") int count,
-			@Param("date") String date);
-
-	/**
-	 * 缁熻濂栧姳鍒告�婚噾棰�
-	 * 
-	 * @return
-	 */
-	BigDecimal countRebateCouponMoney();
-
-	/**
-	 * 缁熻鐢ㄦ埛宸插埌璐�
-	 * 
-	 * @param uid
-	 * @param typeList
-	 * @param minGetTime
-	 * @param maxGetTime
-	 * @return
-	 */
-	BigDecimal sumAlreadyGetMoneyByUid(@Param("uid") Long uid, @Param("typeList") List<Integer> typeList,
-			@Param("minGetTime") Date minGetTime, @Param("maxGetTime") Date maxGetTime);
-
-	long countAlreadyGetMoneyByUid(@Param("uid") Long uid, @Param("typeList") List<Integer> typeList,
-			@Param("minGetTime") Date minGetTime, @Param("maxGetTime") Date maxGetTime);
-
-
-	/**
-	 * 缁熻杩斿埄璁㈠崟
-	 * @param uid
-	 * @return
-	 */
-	long countRebateOrder(@Param("uid") Long uid);
-	
-	/**
-	 * 缁熻鍒嗕韩鍜岄個璇疯鍗�
-	 * @param uid
-	 * @return
-	 */
-	long countShareOrInviteOrder(@Param("uid") Long uid);
-	
-	/**
-	 * 缁熻涓嬬骇浜х敓鏈夋晥鍒嗕韩濂栭噾
-	 * @param uid
-	 * @param teamUid 涓嬬骇id
-	 * @param endTime 缁撴潫鏃堕棿
-	 * @return
-	 */
-
-	BigDecimal getOrderRewardByTeamUid(@Param("uid") Long uid, @Param("teamUid") Long teamUid, @Param("endTime") Date endTime);
-
-	/**
-	 * 缁熻涓嬬骇涓婁釜鏈夋晥璁㈠崟
-	 * @param uid
-	 * @param teamUid 涓嬬骇id
-	 * @param endTime 缁撴潫鏃堕棿
-	 * @return
-	 */
-	BigDecimal getOrderRewardByTeamUidTheMonth(@Param("uid") Long uid, @Param("teamUid") Long teamUid);
-	
-	/**
-	 * 缁熻宸插埌璐﹂噾棰�
-	 * @param uid
-	 * @param list 绫诲瀷
-	 * @return
-	 */
-	BigDecimal getRewardMoneyByUid(@Param("uid") Long uid, @Param("list") List<Integer> list);
-	
-	
-	/**
-	 *  娉細1绗斾笖浠樻鎬婚噾棰濅笉灏忎簬 payment 鍏冿紙閫�娆句负澶辨晥
-	 * @param uid
-	 * @param payment
-	 * @return
-	 */
-	Long countMyDirectOrderByCashArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment,
-			 @Param("type")Integer type);
-	
-	/**
-	 *  娉細1绗斾笖浠樻鎬婚噾棰濅笉灏忎簬 payment 鍏冿紙閫�娆句负澶辨晥
-	 * @param uid
-	 * @param payment
-	 * @return
-	 */
-	Long countMyDirectOrderByCashNotArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment,
-			 @Param("type")Integer type);
-	
-	
-	/**
-	 * 鏌ヨ鐢ㄦ埛涓被鍨嬮璁″閲�
-	 * @param uid
-	 * @param dateType 鏃ユ湡绫诲瀷
-	 * @param hbType   绾㈠寘绫诲瀷
-	 * @return
-	 */
-	BigDecimal getRewardMoneyByDate(@Param("uid") Long uid, @Param("day")Integer dateType, 
-			@Param("type") Integer hbType, @Param("orderState") Integer orderState,
-			@Param("orderNo") String orderNo, @Param("moneyState") Integer moneyState,  
-			@Param("startTime") String startTime, @Param("endTime") String endTime,
-			@Param("listSource") List<Integer> listSource, @Param("notBackSuVip") boolean notBackSuVip);
-
-	/**
-	 * 缁熻鍚勪釜璁㈠崟绫诲瀷 鏈夋晥涓暟
-	 * @param orderType
-	 * @param preDay
-	 * @return
-	 */
-	Long countOrderByTypeAndDate(@Param("orderType") Integer orderType, @Param("preDay") String preDay);
-	
-	
-	/**
-	 * 缁熻杩戞棩鍒拌处鏀跺叆閲戦
-	 * @param uid
-	 * @param day
-	 * @return
-	 */
-	BigDecimal sumMoneyArrivalByUidAndNearDay(@Param("uid") Long uid, @Param("day") int day);
-	
-	
-	/**
-	 * 缁熻缁撶畻閲戦
-	 * @param uid
-	 * @param minDate
-	 * @param maxDate
-	 * @return
-	 */
-	BigDecimal sumMoneyBySettleTimeAndUid(@Param("uid") Long uid, @Param("minDate") Date minDate, @Param("maxDate") Date maxDate);
-
-	/**
-	 * 180鍐呮湭鏀惰揣鐨勯噾棰�
-	 * @param uid
-	 * @return
-	 */
-	BigDecimal sumMoneyByANotSettleAndUid(@Param("uid") Long uid);
-	
-	
+package com.yeshi.fanli.dao.mybatis;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.vo.order.HongBaoV2VO;
+
+public interface HongBaoV2CountMapper {
+
+	/**
+	 * 缁熻鍘嗗彶鎬诲埌璐﹂噾棰�
+	 * 
+	 * @param uid
+	 * @param state
+	 * @return
+	 */
+	BigDecimal countMoneyByUidAndState(@Param("uid") Long uid, @Param("state") Integer state);
+
+	/**
+	 * 缁熻鍘嗗彶绾㈠寘鏁伴噺
+	 * 
+	 * @param uid
+	 * @param state
+	 * @return
+	 */
+	Integer countNumberByUidAndState(@Param("uid") Long uid, @Param("state") Integer state);
+
+	/**
+	 * 缁熻鐢ㄦ埛鎬荤殑绾㈠寘鏁伴噺
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	Long countNumberByUid(@Param("uid") Long uid);
+
+
+
+
+	// 绱鎻愭垚璁㈠崟鏁伴噺锛堝寘鍚棤鏁堣鍗曪級
+	int getTotalTiChengCount(Long uid);
+	
+	
+	// 绱鎻愭垚绾㈠寘鏁伴噺锛堝寘鍚棤鏁堬級
+	long getHongBaoCount(@Param("uid") Long uid, @Param("type") Integer type);
+
+	/**
+	 * 缁熻鏈け鏁堣鍗曟暟閲�
+	 * 
+	 * @param uid
+	 * @param dateType
+	 * @return
+	 */
+	long countValidNumberByUid(@Param("uid") Long uid, @Param("dateType") Integer dateType);
+
+	/**
+	 * 缁熻鏈埌璐�
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	BigDecimal countWillGetMoneyByUid(@Param("uid") Long uid);
+
+	Date getLastHongBaoTime(@Param("uid") Long uid);
+
+
+	List<HongBaoV2VO> listShareAndInviteMoney(@Param("start") long start, @Param("count") int count,
+			@Param("date") String date);
+
+	/**
+	 * 缁熻濂栧姳鍒告�婚噾棰�
+	 * 
+	 * @return
+	 */
+	BigDecimal countRebateCouponMoney();
+
+	/**
+	 * 缁熻鐢ㄦ埛宸插埌璐�
+	 * 
+	 * @param uid
+	 * @param typeList
+	 * @param minGetTime
+	 * @param maxGetTime
+	 * @return
+	 */
+	BigDecimal sumAlreadyGetMoneyByUid(@Param("uid") Long uid, @Param("typeList") List<Integer> typeList,
+			@Param("minGetTime") Date minGetTime, @Param("maxGetTime") Date maxGetTime);
+
+	long countAlreadyGetMoneyByUid(@Param("uid") Long uid, @Param("typeList") List<Integer> typeList,
+			@Param("minGetTime") Date minGetTime, @Param("maxGetTime") Date maxGetTime);
+
+
+	/**
+	 * 缁熻杩斿埄璁㈠崟
+	 * @param uid
+	 * @return
+	 */
+	long countRebateOrder(@Param("uid") Long uid);
+	
+	/**
+	 * 缁熻鍒嗕韩鍜岄個璇疯鍗�
+	 * @param uid
+	 * @return
+	 */
+	long countShareOrInviteOrder(@Param("uid") Long uid);
+	
+	/**
+	 * 缁熻涓嬬骇浜х敓鏈夋晥鍒嗕韩濂栭噾
+	 * @param uid
+	 * @param teamUid 涓嬬骇id
+	 * @param endTime 缁撴潫鏃堕棿
+	 * @return
+	 */
+
+	BigDecimal getOrderRewardByTeamUid(@Param("uid") Long uid, @Param("teamUid") Long teamUid, @Param("endTime") Date endTime);
+
+	/**
+	 * 缁熻涓嬬骇涓婁釜鏈夋晥璁㈠崟
+	 * @param uid
+	 * @param teamUid 涓嬬骇id
+	 * @param endTime 缁撴潫鏃堕棿
+	 * @return
+	 */
+	BigDecimal getOrderRewardByTeamUidTheMonth(@Param("uid") Long uid, @Param("teamUid") Long teamUid);
+	
+	/**
+	 * 缁熻宸插埌璐﹂噾棰�
+	 * @param uid
+	 * @param list 绫诲瀷
+	 * @return
+	 */
+	BigDecimal getRewardMoneyByUid(@Param("uid") Long uid, @Param("list") List<Integer> list);
+	
+	
+	/**
+	 *  娉細1绗斾笖浠樻鎬婚噾棰濅笉灏忎簬 payment 鍏冿紙閫�娆句负澶辨晥
+	 * @param uid
+	 * @param payment
+	 * @return
+	 */
+	Long countMyDirectOrderByCashArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment,
+			 @Param("type")Integer type);
+	
+	/**
+	 * 缁熻宸插埌璐﹁鍗曟暟閲�
+	 * @param uid
+	 * @param payment -浠樻閲戦
+	 * @param type -绫诲瀷锛� 1鑷喘 2鍒嗕韩 3閭�璇�  4鑷喘+鍒嗕韩   
+	 * @param dateType 1鏈湀
+	 * @return
+	 */
+	Long countOrderByCashArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment,
+			 @Param("type")Integer type, @Param("dateType")Integer dateType);
+	
+	
+	/**
+	 * 缁熻鏈埌璐﹁鍗曟暟閲�
+	 * @param uid
+	 * @param payment -浠樻閲戦
+	 * @param type -绫诲瀷锛� 1鑷喘 2鍒嗕韩 3閭�璇�  4鑷喘+鍒嗕韩   
+	 * @param dateType 1鏈湀
+	 * @return
+	 */
+	Long countOrderByCashNotArrival(@Param("uid") Long uid, @Param("payment") BigDecimal payment,
+			 @Param("type")Integer type, @Param("dateType")Integer dateType);
+	
+	/**
+	 * 鏌ヨ鐢ㄦ埛涓被鍨嬮璁″閲�
+	 * @param uid
+	 * @param dateType 鏃ユ湡绫诲瀷
+	 * @param hbType   绾㈠寘绫诲瀷
+	 * @return
+	 */
+	BigDecimal getRewardMoneyByDate(@Param("uid") Long uid, @Param("day")Integer dateType, 
+			@Param("type") Integer hbType, @Param("orderState") Integer orderState,
+			@Param("orderNo") String orderNo, @Param("moneyState") Integer moneyState,  
+			@Param("startTime") String startTime, @Param("endTime") String endTime,
+			@Param("listSource") List<Integer> listSource);
+
+	/**
+	 * 缁熻鍚勪釜璁㈠崟绫诲瀷 鏈夋晥涓暟
+	 * @param orderType
+	 * @param preDay
+	 * @return
+	 */
+	Long countOrderByTypeAndDate(@Param("orderType") Integer orderType, @Param("preDay") String preDay);
+	
+	
+	/**
+	 * 缁熻杩戞棩鍒拌处鏀跺叆閲戦
+	 * @param uid
+	 * @param day
+	 * @return
+	 */
+	BigDecimal sumMoneyArrivalByUidAndNearDay(@Param("uid") Long uid, @Param("day") int day);
+	
+	
+	/**
+	 * 缁熻缁撶畻閲戦
+	 * @param uid
+	 * @param minDate
+	 * @param maxDate
+	 * @return
+	 */
+	BigDecimal sumMoneyBySettleTimeAndUid(@Param("uid") Long uid, @Param("minDate") Date minDate, @Param("maxDate") Date maxDate);
+
+	/**
+	 * 180鍐呮湭鏀惰揣鐨勯噾棰�
+	 * @param uid
+	 * @return
+	 */
+	BigDecimal sumMoneyByANotSettleAndUid(@Param("uid") Long uid);
+	
+	
 }
\ No newline at end of file

--
Gitblit v1.8.0