From eec7e789a87863c25d92c10ad5dfc22ad80c448d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 14 七月 2020 12:36:48 +0800
Subject: [PATCH] 系统区分BUG修复

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/FloatADService.java |   31 ++++++++++++++++++++++++++++---
 1 files changed, 28 insertions(+), 3 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..bb45800 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
@@ -2,6 +2,7 @@
 
 import java.util.List;
 
+import com.yeshi.fanli.entity.SystemEnum;
 import org.apache.ibatis.annotations.Param;
 import org.springframework.web.multipart.MultipartFile;
 
@@ -48,15 +49,39 @@
 	 * @return
 	 */
 	public List<FloatAD> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key,
-			@Param("state") Integer state) throws FloatADException;
+			@Param("state") Integer state,SystemEnum system) throws FloatADException;
 
-	public long countQuery(@Param("key") String key, @Param("state") Integer state);
+	public long countQuery(@Param("key") String key, @Param("state") Integer state,SystemEnum system);
 
 	/**
 	 * 鏌ヨ鏈夋晥鐨勬偓娴ぇ鍥�
 	 * @return
 	 */
-	public FloatAD getEffectiveFloatAD(String position, Integer type);
+	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