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/ExtractMapper.java |  251 ++++++++++++++++++++++++++++----------------------
 1 files changed, 140 insertions(+), 111 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractMapper.java
index 8a2b36b..fa26566 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/ExtractMapper.java
@@ -1,112 +1,141 @@
-package com.yeshi.fanli.dao.mybatis;
-
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Map;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.entity.bus.user.Extract;
-
-public interface ExtractMapper {
-	int deleteByPrimaryKey(Long configId);
-
-	int insert(Extract record);
-
-	int insertSelective(Extract record);
-
-	Extract selectByPrimaryKey(Long configId);
-
-	Extract selectByPrimaryKeyForUpdate(Long configId);
-
-	int updateByPrimaryKeySelective(Extract record);
-
-	int updateByPrimaryKey(Extract record);
-
-	List<Integer> checkExtract(String uid);
-
-	Map<String, Object> getTodayCount();
-
-	/**
-	 * 缁熻浠婃棩鎻愮幇鎴愬姛閲戦
-	 */
-	BigDecimal getTodayTotalSuccessMoney();
-
-	/**
-	 * 缁熻鎴愬姛鐨勬鏁般�佹�婚噾棰�
-	 * 
-	 * @return
-	 */
-	Map<String, Object> countTotalSuccess();
-
-	/**
-	 * 鏌ヨ褰撳墠瀹㈡湇寰呭鐞�
-	 * 
-	 * @param start
-	 * @param count
-	 * @param title
-	 * @param state
-	 * @return
-	 */
-	Extract getMyTaskInfo(@Param("adminId") Long adminId);
-
-	/**
-	 * 鏌ヨ褰撳墠瀹㈡湇鏂板鐞嗕换鍔�
-	 * 
-	 * @param start
-	 * @param count
-	 * @param title
-	 * @param state
-	 * @return
-	 */
-	Extract getNewTaskInfo();
-
-	/**
-	 * 鏌ヨ褰撳墠瀹㈡湇寰呭鐞�
-	 * 
-	 * @param start
-	 * @param count
-	 * @param title
-	 * @param state
-	 * @return
-	 */
-	Map<String, Object> countRecordsByUid(@Param("uid") Long uid);
-
-	double countSuccessMoneysByUid(@Param("uid") Long uid);
-
-	long countSuccessByUid(@Param("uid") Long uid);
-
-	List<Map<String, Object>> getFinishRecord(@Param("start") long start, @Param("count") int count,
-			@Param("key") String key, @Param("startTime") String startTime, @Param("endTime") String endTime);
-
-	/**
-	 * 缁熻浠婃棩鎻愮幇鐢宠娆℃暟
-	 * 
-	 * @return
-	 */
-	int countTodayApply();
-
-	/**
-	 * 缁熻浠婃棩宸插鐞嗘彁鐜版暟閲�
-	 * 
-	 * @return
-	 */
-	int countTodayComplete();
-
-	double countTodayMoney(@Param("uid") Long uid);
-
-	/**
-	 * 鑾峰彇琛ュ伩閲戦
-	 * 
-	 * @param uid
-	 * @return
-	 */
-	BigDecimal computeCompensateByUid(Long uid);
-	
-	/**
-	 * 缁熻浠婃棩鐢宠鎻愮幇鐨勯噾棰濓紙鏍规嵁鐢ㄦ埛ID锛�
-	 * @param uid
-	 * @return
-	 */
-	BigDecimal sumToadyApplyByUid(Long uid);
+package com.yeshi.fanli.dao.mybatis;
+
+import java.math.BigDecimal;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.entity.bus.user.Extract;
+
+public interface ExtractMapper {
+	int deleteByPrimaryKey(Long configId);
+
+	int insert(Extract record);
+
+	int insertSelective(Extract record);
+
+	Extract selectByPrimaryKey(Long configId);
+
+	Extract selectByPrimaryKeyForUpdate(Long configId);
+
+	int updateByPrimaryKeySelective(Extract record);
+
+	int updateByPrimaryKey(Extract record);
+
+	List<Integer> checkExtract(String uid);
+
+	Map<String, Object> getTodayCount();
+
+	/**
+	 * 缁熻浠婃棩鎻愮幇鎴愬姛閲戦
+	 */
+	BigDecimal getTodayTotalSuccessMoney();
+
+	/**
+	 * 缁熻鎴愬姛鐨勬鏁般�佹�婚噾棰�
+	 * 
+	 * @return
+	 */
+	Map<String, Object> countTotalSuccess();
+
+	/**
+	 * 鏌ヨ褰撳墠瀹㈡湇寰呭鐞�
+	 * 
+	 * @param start
+	 * @param count
+	 * @param title
+	 * @param state
+	 * @return
+	 */
+	Extract getMyTaskInfo(@Param("adminId") Long adminId);
+
+	/**
+	 * 鏌ヨ褰撳墠瀹㈡湇鏂板鐞嗕换鍔�
+	 * 
+	 * @param start
+	 * @param count
+	 * @param title
+	 * @param state
+	 * @return
+	 */
+	Extract getNewTaskInfo();
+
+	/**
+	 * 鏌ヨ褰撳墠瀹㈡湇寰呭鐞�
+	 * 
+	 * @param start
+	 * @param count
+	 * @param title
+	 * @param state
+	 * @return
+	 */
+	Map<String, Object> countRecordsByUid(@Param("uid") Long uid);
+
+	double countSuccessMoneysByUid(@Param("uid") Long uid);
+
+	long countSuccessByUid(@Param("uid") Long uid);
+
+	List<Map<String, Object>> getFinishRecord(@Param("start") long start, @Param("count") int count,
+			@Param("key") String key, @Param("startTime") String startTime, @Param("endTime") String endTime);
+
+	/**
+	 * 缁熻浠婃棩鎻愮幇鐢宠娆℃暟
+	 * 
+	 * @return
+	 */
+	int countTodayApply();
+
+	/**
+	 * 缁熻浠婃棩宸插鐞嗘彁鐜版暟閲�
+	 * 
+	 * @return
+	 */
+	int countTodayComplete();
+
+	double countTodayMoney(@Param("uid") Long uid);
+
+	/**
+	 * 鑾峰彇琛ュ伩閲戦
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	BigDecimal computeCompensateByUid(Long uid);
+
+	/**
+	 * 缁熻浠婃棩鐢宠鎻愮幇鐨勯噾棰濓紙鏍规嵁鐢ㄦ埛ID锛�
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	/**
+	 * 缁熻褰撴棩鎻愮幇
+	 * @param uid
+	 * @param day
+	 * @return
+	 */
+	BigDecimal sumToadyApplyByUid(@Param("uid") Long uid, @Param("day") String day);
+	
+	/**
+	 * 鏍规嵁鐢ㄦ埛ID涓庣姸鎬佺粺璁¤祫閲�
+	 * @param uid
+	 * @param stateList
+	 * @return
+	 */
+	BigDecimal sumMoneyByUidAndState(@Param("uid") Long uid,@Param("stateList")List<Integer> stateList);
+	
+	
+	/**
+	 * 鏌ヨ鎻愮幇鎴愬姛璁板綍
+	 * @param start
+	 * @param count
+	 * @param uid
+	 * @return
+	 */
+	List<Extract> getExtractSucceedRecord(@Param("start") long start, @Param("count") int count, @Param("uid") Long uid);
+
+	
+	Long countExtractSucceedRecord(@Param("uid") Long uid);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0