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/push/DeviceTokenHWService.java |  122 ++++++++++++++++++++++++----------------
 1 files changed, 72 insertions(+), 50 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenHWService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenHWService.java
index bb36918..8a3edf1 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenHWService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/DeviceTokenHWService.java
@@ -1,50 +1,72 @@
-package com.yeshi.fanli.service.inter.push;
-
-import java.util.List;
-
-import com.yeshi.fanli.entity.push.DeviceTokenHW;
-
-/**
- * 鍗庝负deviceToken鏈嶅姟
- * 
- * @author Administrator
- *
- */
-public interface DeviceTokenHWService {
-	/**
-	 * 鍒嗛〉鏌ヨ鏁版嵁
-	 * 
-	 * @param start
-	 * @param page
-	 * @return
-	 */
-	List<DeviceTokenHW> getDeviceTokenList(int page, int pageSize);
-
-	Long getDeviceTokenCount();
-
-	/**
-	 * 娣诲姞鏁版嵁
-	 * 
-	 * @param token
-	 * @param device
-	 * @param uid
-	 */
-	void addDeviceToken(String token, String device, Long uid);
-
-	/**
-	 * 鑾峰彇鏌愪釜鐢ㄦ埛鐨刣eviceToken
-	 * 
-	 * @param uid
-	 * @return
-	 */
-	List<DeviceTokenHW> getDeviceTokenByUid(Long uid);
-
-	/**
-	 * 瑙g粦鐢ㄦ埛token
-	 * 
-	 * @param uid
-	 * @param device
-	 */
-	void unBindDeviceToken(String device);
-
-}
+package com.yeshi.fanli.service.inter.push;
+
+import java.util.Date;
+import java.util.List;
+
+import com.yeshi.fanli.entity.push.DeviceTokenHW;
+
+/**
+ * 鍗庝负deviceToken鏈嶅姟
+ * 
+ * @author Administrator
+ *
+ */
+public interface DeviceTokenHWService {
+
+	/**
+	 * 鍒嗛〉鏌ヨ鏁版嵁
+	 * @param page
+	 * @param pageSize
+	 * @param versionList
+	 * @param minUpdateTime
+	 * @return
+	 */
+
+	List<DeviceTokenHW> getDeviceTokenList(int page, int pageSize, List<Integer> versionList, Date minUpdateTime);
+
+	Long countDeviceToken(List<Integer> versionList,Date minUpdateTime);
+
+	/**
+	 * 娣诲姞鏁版嵁
+	 * 
+	 * @param token
+	 * @param device
+	 * @param uid
+	 * @param version
+	 */
+	void addDeviceToken(String token, String device, Long uid, int version);
+
+	/**
+	 * 鑾峰彇鏌愪釜鐢ㄦ埛鐨刣eviceToken
+	 * 
+	 * @param uid
+	 * @return
+	 */
+	List<DeviceTokenHW> getDeviceTokenByUid(Long uid);
+
+	/**
+	 * 鏍规嵁鐗堟湰鑾峰彇deviceToken
+	 * 
+	 * @param uid
+	 * @param versionList
+	 * @return
+	 */
+	List<DeviceTokenHW> getDeviceTokenByUid(Long uid, List<Integer> versionList);
+
+	/**
+	 * 瑙g粦鐢ㄦ埛token
+	 * 
+	 * @param uid
+	 * @param device
+	 */
+	void unBindDeviceToken(String device);
+
+	/**
+	 * 灏嗙敤鎴稩D缁戝畾鍒拌澶囦笂
+	 * 
+	 * @param device
+	 * @param uid
+	 */
+	void bindUid(String device, Long uid);
+
+}

--
Gitblit v1.8.0