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/PushGoodsService.java |  162 ++++++++++++++++++++++++++++++++----------------------
 1 files changed, 96 insertions(+), 66 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java
index 69ffc09..3f8e967 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/push/PushGoodsService.java
@@ -1,66 +1,96 @@
-package com.yeshi.fanli.service.inter.push;
-
-import java.util.Date;
-import java.util.List;
-
-import com.yeshi.fanli.entity.push.PushGoods;
-import com.yeshi.fanli.exception.PushException;
-import com.yeshi.fanli.exception.push.PushGoodsException;
-
-public interface PushGoodsService {
-
-	public int deleteByPrimaryKey(Long id) throws PushGoodsException;
-
-	public int insert(PushGoods record) throws PushGoodsException;
-
-	public int insertSelective(PushGoods record) throws PushGoodsException;
-
-	public PushGoods selectByPrimaryKey(Long id) throws PushGoodsException;
-
-	public int updateByPrimaryKeySelective(PushGoods record) throws PushGoodsException;
-
-	public int updateByPrimaryKey(PushGoods record) throws PushGoodsException;
-
-	public void save(PushGoods record, List<Long> goodsId) throws Exception;
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * @param list
-	 * @return
-	 */
-	public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
-	
-	
-	/**
-	 * 鍚庣鍒楄〃鏌ヨ
-	 * @param start
-	 * @param count
-	 * @param key
-	 * @return
-	 */
-	public List<PushGoods> listQuery(long start, int count, String key, Integer state);
-	
-	public long countQuery(String key, Integer state);
-
-	/**
-	 * 鑾峰彇鍘嗗彶鎺ㄩ�佸晢鍝佷俊鎭�
-	 * @param start
-	 * @param count
-	 * @param pushTime
-	 * @return
-	 */
-	public List<PushGoods> listHistoryByPushTime(long start, int count, Long uid, Date pushTime);
-
-	public long countHistoryByPushTime(Long uid, Date pushTime);
-
-	
-	/**
-	 * 鎵ц鎺ㄩ��
-	 * @param id
-	 * @throws Exception
-	 * @throws PushGoodsException
-	 * @throws PushException
-	 */
-	public void executePush(Long id) throws Exception, PushGoodsException, PushException;
-	
-}
+package com.yeshi.fanli.service.inter.push;
+
+import java.util.Date;
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import com.yeshi.fanli.entity.push.PushGoods;
+import com.yeshi.fanli.exception.push.PushException;
+import com.yeshi.fanli.exception.push.PushGoodsException;
+
+public interface PushGoodsService {
+
+	public int deleteByPrimaryKey(Long id) throws PushGoodsException;
+
+	public int insert(PushGoods record) throws PushGoodsException;
+
+	public int insertSelective(PushGoods record) throws PushGoodsException;
+
+	public PushGoods selectByPrimaryKey(Long id);
+
+	public int updateByPrimaryKeySelective(PushGoods record) throws PushGoodsException;
+
+	public int updateByPrimaryKey(PushGoods record) throws PushGoodsException;
+
+	public void save(PushGoods record, List<String> goodsId) throws PushGoodsException,Exception;
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * @param list
+	 * @return
+	 */
+	public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
+	
+	
+	/**
+	 * 鍚庣鍒楄〃鏌ヨ
+	 * @param start
+	 * @param count
+	 * @param key
+	 * @return
+	 */
+	public List<PushGoods> listQuery(long start, int count, String key, Integer state, SystemEnum system);
+	
+	public long countQuery(String key, Integer state, SystemEnum system);
+
+	/**
+	 * 鑾峰彇鍘嗗彶鎺ㄩ�佸晢鍝佷俊鎭�
+	 * @param start
+	 * @param count
+	 * @param pushTime
+	 * @return
+	 */
+	public List<PushGoods> listHistoryByPushTime(long start, int count, Long uid, Date pushTime, SystemEnum system);
+
+	public long countHistoryByPushTime(Long uid, Date pushTime, SystemEnum system);
+
+	
+	/**
+	 * 鎵ц鎺ㄩ��
+	 * @param id
+	 * @throws Exception
+	 * @throws PushGoodsException
+	 * @throws PushException
+	 */
+	public void executePush(PushGoods record) throws Exception, PushGoodsException, PushException;
+
+	/**
+	 * 瀹氭椂鎺ㄩ�佷换鍔�
+	 * @return
+	 */
+	public List<PushGoods> listTask(SystemEnum system);
+
+	/**
+	 * 瀹氭椂鎺ㄩ�佸鐞�
+	 * @param record
+	 */
+	public void taskPush(PushGoods record);
+
+	/**
+	 * 鍚庣鎺ㄩ��
+	 * @param id
+	 * @throws Exception
+	 * @throws PushGoodsException
+	 * @throws PushException
+	 */
+	public void handPush(Long id) throws Exception, PushGoodsException, PushException;
+
+	/**
+	 * 淇濆瓨淇℃伅
+	 * @param record
+	 * @throws PushGoodsException
+	 * @throws Exception
+	 */
+	public void saveInfo(PushGoods record) throws PushGoodsException, Exception;
+	
+}

--
Gitblit v1.8.0