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/service/inter/homemodule/FloatADService.java |  149 +++++++++++++++++++++++++++++--------------------
 1 files changed, 87 insertions(+), 62 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/FloatADService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/FloatADService.java
index bc004c2..255c428 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/FloatADService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/FloatADService.java
@@ -1,62 +1,87 @@
-package com.yeshi.fanli.service.inter.homemodule;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-import org.springframework.web.multipart.MultipartFile;
-
-import com.yeshi.fanli.entity.bus.homemodule.FloatAD;
-import com.yeshi.fanli.exception.banner.SwiperPictureException;
-import com.yeshi.fanli.exception.homemodule.FloatADException;
-
-public interface FloatADService {
-
-
-	/**
-	 * 淇濆瓨
-	 * @param record
-	 * @throws FloatADException
-	 */
-	public void saveObject(MultipartFile file, FloatAD record, String jumpType) throws FloatADException, Exception;
-
-	/**
-	 * 淇敼鎺掑簭
-	 * @param id
-	 * @param moveType
-	 * @throws FloatADException
-	 */
-	public void updateOrder(Long id, Integer moveType) throws FloatADException;
-	
-	
-	/**
-	 * 鎵归噺鍒犻櫎
-	 * 
-	 * @param list 绠$悊id
-	 * @return
-	 * @throws SwiperPictureException
-	 */
-	public int deleteByPrimaryKeyList(List<Long> list) throws Exception;
-
-
-	/**
-	 * 鍚庣鍒楄〃鏌ヨ
-	 * 
-	 * @param start
-	 * @param count
-	 * @param key
-	 * @param state
-	 * @return
-	 */
-	public List<FloatAD> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key,
-			@Param("state") Integer state) throws FloatADException;
-
-	public long countQuery(@Param("key") String key, @Param("state") Integer state);
-
-	/**
-	 * 鏌ヨ鏈夋晥鐨勬偓娴ぇ鍥�
-	 * @return
-	 */
-	public FloatAD getEffectiveFloatAD(String position, Integer type);
-
-
-}
+package com.yeshi.fanli.service.inter.homemodule;
+
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.web.multipart.MultipartFile;
+
+import com.yeshi.fanli.entity.bus.homemodule.FloatAD;
+import com.yeshi.fanli.exception.banner.SwiperPictureException;
+import com.yeshi.fanli.exception.homemodule.FloatADException;
+
+public interface FloatADService {
+
+
+	/**
+	 * 淇濆瓨
+	 * @param record
+	 * @throws FloatADException
+	 */
+	public void saveObject(MultipartFile file, FloatAD record, String jumpType) throws FloatADException, Exception;
+
+	/**
+	 * 淇敼鎺掑簭
+	 * @param id
+	 * @param moveType
+	 * @throws FloatADException
+	 */
+	public void updateOrder(Long id, Integer moveType) throws FloatADException;
+	
+	
+	/**
+	 * 鎵归噺鍒犻櫎
+	 * 
+	 * @param list 绠$悊id
+	 * @return
+	 * @throws SwiperPictureException
+	 */
+	public int deleteByPrimaryKeyList(List<Long> list) throws Exception;
+
+
+	/**
+	 * 鍚庣鍒楄〃鏌ヨ
+	 * 
+	 * @param start
+	 * @param count
+	 * @param key
+	 * @param state
+	 * @return
+	 */
+	public List<FloatAD> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key,
+			@Param("state") Integer state,SystemEnum system) throws FloatADException;
+
+	public long countQuery(@Param("key") String key, @Param("state") Integer state,SystemEnum system);
+
+	/**
+	 * 鏌ヨ鏈夋晥鐨勬偓娴ぇ鍥�
+	 * @return
+	 */
+	public FloatAD getEffectiveFloatAD(String position, Integer type,SystemEnum system);
+
+
+	/**
+	 * 璁剧疆鐗堟湰淇℃伅
+	 * @param id
+	 * @param versions
+	 * @throws Exception
+	 */
+	public void setVersions(Long id, List<Long> versions) throws Exception;
+
+	/**
+	 *     鏈夋晥鐗堟湰淇℃伅 
+	 * @param position
+	 * @param type
+	 * @return
+	 */
+	public List<FloatAD> getValidFloatADCache(String position, Integer type, String platform, Integer versionCode, SystemEnum system);
+
+	
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws FloatADException
+	 */
+	public void switchState(Long id) throws FloatADException;
+
+}

--
Gitblit v1.8.0