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/user/vip/UserVIPPreInfoService.java |  181 +++++++++++++++++++++++++++-----------------
 1 files changed, 110 insertions(+), 71 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPPreInfoService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPPreInfoService.java
index d9218c3..0d34064 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPPreInfoService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/vip/UserVIPPreInfoService.java
@@ -1,71 +1,110 @@
-package com.yeshi.fanli.service.inter.user.vip;
-
-import java.util.Date;
-
-import com.yeshi.fanli.entity.bus.user.vip.UserVIPPreInfo;
-import com.yeshi.fanli.exception.user.vip.UserVIPInfoException;
-import com.yeshi.fanli.exception.user.vip.UserVIPPreInfoException;
-
-/**
- * 闃舵VIP鐢ㄦ埛鏈嶅姟
- * 
- * @author Administrator
- *
- */
-public interface UserVIPPreInfoService {
-
-	/**
-	 * 娣诲姞鐢ㄦ埛VIP闃舵淇℃伅
-	 * 
-	 * @param info
-	 * @throws UserVIPInfoException
-	 */
-	public void addUserVIPPreInfo(UserVIPPreInfo info) throws UserVIPPreInfoException;
-
-	/**
-	 * 鑾峰彇鏈�鏂扮殑杩涘害
-	 * 
-	 * @param uid
-	 * @return
-	 */
-	public UserVIPPreInfo getLatestProcessInfo(Long uid);
-	
-	/**
-	 * 鑾峰彇鏌愪釜鏃堕棿鐨勮繘搴�
-	 * 
-	 * @param uid
-	 * @return
-	 */
-	public UserVIPPreInfo getProcessInfo(Long uid,Date time);
-
-	/**
-	 * 浼氬憳绛夌骇娣诲姞骞堕獙璇�
-	 * @param uid
-	 * @param inviteSuccess
-	 */
-	public void verifyVipPreInfo(Long uid, boolean inviteSuccess);
-	
-	/**
-	 * 鏍规嵁鐢ㄦ埛ID涓庢楠ゆ煡璇�
-	 * @Title: selectByUidAndProcess
-	 * @Description: 
-	 * @param uid
-	 * @param process
-	 * @return 
-	 * UserVIPPreInfo 杩斿洖绫诲瀷
-	 * @throws
-	 */
-	
-	public UserVIPPreInfo selectByUidAndProcess(Long uid,int process);
-
-	
-	/**
-	 * 鏌ヨ杩涘害鏍规嵁涓嶅悓闃舵
-	 * @param uid
-	 * @param process
-	 * @return
-	 * @throws UserVIPPreInfoException
-	 */
-	public UserVIPPreInfo getVipByProcess(Long uid, int process);
-
-}
+package com.yeshi.fanli.service.inter.user.vip;
+
+import java.util.Date;
+import java.util.List;
+
+import com.yeshi.fanli.entity.bus.user.vip.UserVIPPreInfo;
+import com.yeshi.fanli.exception.user.vip.UserVIPInfoException;
+import com.yeshi.fanli.exception.user.vip.UserVIPPreInfoException;
+import com.yeshi.fanli.exception.user.vip.UserVIPUpgradeException;
+
+/**
+ * 闃舵VIP鐢ㄦ埛鏈嶅姟
+ * 
+ * @author Administrator
+ *
+ */
+public interface UserVIPPreInfoService {
+
+	/**
+	 * 娣诲姞鐢ㄦ埛VIP闃舵淇℃伅
+	 * 
+	 * @param info
+	 * @throws UserVIPInfoException
+	 */
+	public void addUserVIPPreInfo(UserVIPPreInfo info) throws UserVIPPreInfoException;
+
+	/**
+	 * 鑾峰彇鏈�鏂扮殑杩涘害
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	public UserVIPPreInfo getLatestProcessInfo(Long uid);
+
+	/**
+	 * 鑾峰彇鏌愪釜鏃堕棿鐨勮繘搴�
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	public UserVIPPreInfo getProcessInfo(Long uid, Date time);
+
+	/**
+	 * 鏍规嵁鐢ㄦ埛ID涓庢楠ゆ煡璇�
+	 * @Title: selectByUidAndProcess
+	 * @Description: 
+	 * @param uid
+	 * @param process
+	 * @return 
+	 * UserVIPPreInfo 杩斿洖绫诲瀷
+	 * @throws
+	 */
+
+	public UserVIPPreInfo selectByUidAndProcess(Long uid, int process);
+
+	/**
+	 * 鏌ヨ杩涘害鏍规嵁涓嶅悓闃舵
+	 * @param uid
+	 * @param process
+	 * @return
+	 * @throws UserVIPPreInfoException
+	 */
+	public UserVIPPreInfo getVipByProcess(Long uid, int process);
+
+	/**
+	 * 鑷喘+ 鍒嗕韩璁㈠崟鍒拌处 婊¤冻鍗囩骇楠岃瘉
+	 * @param uid
+	 */
+	public void upgradeVipByMyOrder(Long uid) throws UserVIPUpgradeException;
+
+	/**
+	 * 楠岃瘉鑷韩鏄惁婊¤冻vip鏉′欢
+	 * @param uid  
+	 */
+	public void upgradeVipByTeamNum(Long uid) throws UserVIPUpgradeException;
+
+	/**
+	 * 绮変笣瀹屾垚鏀惰揣-楠岃瘉鐩存帴-闂存帴绮変笣
+	 * @param uid 绮変笣id
+	 */
+	public void upgradeBossVipByTeamNum(Long uid) throws UserVIPUpgradeException;
+
+	/**
+	 * 鏍规嵁涓婚敭鍒犻櫎
+	 * @Title: deleteByPrimaryKey
+	 * @Description: 
+	 * @param id 
+	 * void 杩斿洖绫诲瀷
+	 * @throws
+	 */
+	public void deleteByPrimaryKey(Long id);
+
+	/**
+	 * 鏍规嵁鏃堕棿涓庤繃绋嬫煡璇�
+	 * @Title: listByProcess
+	 * @Description: 
+	 * @param process
+	 * @param minTime
+	 * @param maxTime
+	 * @param page
+	 * @param pageSize
+	 * @return 
+	 * List<UserVIPPreInfo> 杩斿洖绫诲瀷
+	 * @throws
+	 */
+	public List<UserVIPPreInfo> listByProcess(int process, Date minTime, Date maxTime, int page, int pageSize);
+	
+	public long countByProcess(int process, Date minTime, Date maxTime);
+
+}

--
Gitblit v1.8.0