From 5e7b0ed4a154ad067cbcf4aa1a1c7cce32f9864c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 26 四月 2024 18:02:17 +0800
Subject: [PATCH] 唯品会链接解析升级

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/money/extract/ExtractService.java |  266 +++++++++++++++++++++++++++++++---------------------
 1 files changed, 158 insertions(+), 108 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/money/extract/ExtractService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/money/extract/ExtractService.java
index 8240113..0fc7080 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/money/extract/ExtractService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/money/extract/ExtractService.java
@@ -1,108 +1,158 @@
-package com.yeshi.fanli.service.inter.money.extract;
-
-import java.math.BigDecimal;
-import java.util.List;
-import java.util.Map;
-
-import com.yeshi.fanli.entity.bus.user.AlipayTransferResultInfo;
-import com.yeshi.fanli.entity.bus.user.Extract;
-import com.yeshi.fanli.entity.common.AdminUser;
-import com.yeshi.fanli.exception.ExtractException;
-import com.yeshi.fanli.exception.NotExistObjectException;
-import com.yeshi.fanli.exception.ObjectStateException;
-
-public interface ExtractService {
-
-	/**
-	 * 鎻愮幇鐢宠
-	 * 
-	 * @param extract
-	 * @return 杩斿洖濡傛灉涓簄ull锛屽垯鎻愮幇鐢宠鎻愪氦鎴愬姛銆傚鏋滀负1锟�?锛屽凡瓒呰繃褰撴棩鎻愮幇娆℃暟鎴栨彁鐜伴噾棰濓紒濡傛灉锟�?锛屾彁鐜伴噾棰濆ぇ浜庢垜鐨勭孩鍖咃紒
-	 */
-	public Integer addExtract(Extract extract);
-
-	// public int getCount();
-
-	/**
-	 * 閫氳繃
-	 * 
-	 * @param id
-	 * @return
-	 */
-	public Integer passExtract(long id, AdminUser admin);
-
-	/**
-	 * 鎷掔粷
-	 * 
-	 * @param id
-	 * @param reason
-	 * @throws ObjectStateException
-	 * @throws NotExistObjectException
-	 */
-	public void rejectExtract(long id, String reason, AdminUser adminUser)
-			throws ObjectStateException, NotExistObjectException;
-
-	/**
-	 * 
-	 * 鏂规硶璇存槑: 鏍规嵁鎻愮幇璁板綍id鑾峰彇鐢ㄦ埛uid
-	 * 
-	 * @author mawurui createTime 2018骞�3鏈�14鏃� 涓嬪崍3:43:22
-	 * @param id
-	 * @return
-	 */
-	public Extract getExtractById(long id);
-
-	/**
-	 * 鐢ㄦ埛鎻愮幇鏍¢獙
-	 * 
-	 * @param uid
-	 * @return
-	 */
-	public void checkExtract(Long uid) throws ExtractException;
-
-	public Extract selectByPrimaryKey(Long id);
-
-	/**
-	 * 鏌ヨ褰撳墠瀹㈡湇寰呭鐞�
-	 * 
-	 * @return
-	 */
-	public Extract getMyTaskInfo(Long adminId);
-
-	public List<Map<String, Object>> getFinishRecord(int pageIndex, int pageSize, String key, String startTime,
-			String endTime);
-
-	/*
-	 * 鏇存柊鎻愮幇璁板綍
-	 */
-	public int updateByPrimaryKeySelective(Extract record);
-
-	public Extract getNewTaskInfo();
-
-	/**
-	 * 澶勭悊鎻愮幇缁撴灉
-	 * 
-	 * @param info
-	 */
-	public void processExtractResult(AlipayTransferResultInfo info);
-
-	public void testExtractSuccess(Long id);
-
-	/**
-	 * 缁熻褰撴棩鎻愮幇
-	 * 
-	 * @param uid
-	 * @param day  yyyy-MM-dd
-	 * @return
-	 */
-	public BigDecimal sumTodayApplyMoney(Long uid, String day);
-	
-	/**
-	 * 缁熻姝e湪瀹℃牳涓殑閲戦
-	 * @param uid
-	 * @return
-	 */
-	public BigDecimal sumVerifyingMoney(Long uid);
-	
-
-}
+package com.yeshi.fanli.service.inter.money.extract;
+
+import java.math.BigDecimal;
+import java.util.List;
+import java.util.Map;
+
+import org.yeshi.utils.entity.wx.RedPackRecord;
+
+import com.yeshi.fanli.entity.bus.user.AlipayTransferResultInfo;
+import com.yeshi.fanli.entity.bus.user.Extract;
+import com.yeshi.fanli.entity.bus.user.UserInfo;
+import com.yeshi.fanli.entity.common.AdminUser;
+import com.yeshi.fanli.exception.ExtractException;
+import com.yeshi.fanli.exception.NotExistObjectException;
+import com.yeshi.fanli.exception.ObjectStateException;
+
+public interface ExtractService {
+
+	/**
+	 * 鎻愮幇鐢宠
+	 * 
+	 * @param extract
+	 * @return 杩斿洖濡傛灉涓簄ull锛屽垯鎻愮幇鐢宠鎻愪氦鎴愬姛銆傚鏋滀负1锟�?锛屽凡瓒呰繃褰撴棩鎻愮幇娆℃暟鎴栨彁鐜伴噾棰濓紒濡傛灉锟�?锛屾彁鐜伴噾棰濆ぇ浜庢垜鐨勭孩鍖咃紒
+	 */
+	public Integer addExtract(Extract extract);
+
+	// public int getCount();
+
+	/**
+	 * 閫氳繃
+	 * 
+	 * @param id
+	 * @return
+	 */
+	public Integer passExtract(long id, AdminUser admin);
+
+	/**
+	 * 鎷掔粷
+	 * 
+	 * @param id
+	 * @param reason
+	 * @throws ObjectStateException
+	 * @throws NotExistObjectException
+	 */
+	public void rejectExtract(long id, String reason, AdminUser adminUser)
+			throws ObjectStateException, NotExistObjectException;
+
+	/**
+	 * 
+	 * 鏂规硶璇存槑: 鏍规嵁鎻愮幇璁板綍id鑾峰彇鐢ㄦ埛uid
+	 * 
+	 * @author mawurui createTime 2018骞�3鏈�14鏃� 涓嬪崍3:43:22
+	 * @param id
+	 * @return
+	 */
+	public Extract getExtractById(long id);
+
+	/**
+	 * 鐢ㄦ埛鎻愮幇鏍¢獙
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	public void checkExtract(Long uid) throws ExtractException;
+
+	public Extract selectByPrimaryKey(Long id);
+
+	/**
+	 * 鏌ヨ褰撳墠瀹㈡湇寰呭鐞�
+	 * 
+	 * @return
+	 */
+	public Extract getMyTaskInfo(Long adminId);
+
+	public List<Map<String, Object>> getFinishRecord(int pageIndex, int pageSize, String key, String startTime,
+			String endTime);
+
+	/*
+	 * 鏇存柊鎻愮幇璁板綍
+	 */
+	public int updateByPrimaryKeySelective(Extract record);
+
+	public Extract getNewTaskInfo();
+
+	/**
+	 * 澶勭悊鎻愮幇缁撴灉
+	 * 
+	 * @param info
+	 */
+	public void processExtractResult(AlipayTransferResultInfo info);
+
+	public void testExtractSuccess(Long id);
+
+	/**
+	 * 缁熻褰撴棩鎻愮幇
+	 * 
+	 * @param uid
+	 * @param day  yyyy-MM-dd
+	 * @return
+	 */
+	public BigDecimal sumTodayApplyMoney(Long uid, String day);
+	
+	/**
+	 * 缁熻姝e湪瀹℃牳涓殑閲戦
+	 * @param uid
+	 * @return
+	 */
+	public BigDecimal sumVerifyingMoney(Long uid);
+
+	
+	/**
+	 * 鑷姩鎻愮幇-寰俊
+	 * @param user
+	 */
+	public void autoExtract(UserInfo user);
+
+
+	/**
+	 * 鑾峰彇鑷姩鎻愮幇openid
+	 * @return
+	 */
+	public List<String> getAutoExtractOpenIds()  throws Exception;
+
+	/**
+	 * 鏇存柊鎵嬪姩寰俊鎻愮幇绾㈠寘璁板綍
+	 * @param list
+	 * @throws ExtractException
+	 */
+	public void updateManualExtractRecord(List<RedPackRecord> list) throws ExtractException;
+
+	/**
+	 * 
+	 * @return
+	 * @throws Exception
+	 */
+	public List<UserInfo> preAutoUser() throws Exception;
+
+	public List<String> getAutoExtractOpenIdsTo1212() throws Exception;
+
+	public List<UserInfo> preAutoUserTo1212() throws Exception;
+
+	/**
+	 * 鑾峰彇鎻愮幇鎴愬姛璁板綍
+	 * @param page
+	 * @param pageSize
+	 * @param uid
+	 * @return
+	 */
+	public List<Extract> getExtractSucceedRecord(int page, int pageSize, Long uid);
+
+	/**
+	 * 缁熻鎻愮幇鎴愬姛璁板綍
+	 * @param uid
+	 * @return
+	 */
+	public long countExtractSucceedRecord(Long uid);
+	
+}

--
Gitblit v1.8.0