From 3e4ef41ffacd7f5fda2e81c3810cd11a6375b83c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 15 六月 2020 16:32:35 +0800
Subject: [PATCH] 好单库转链支持

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java |   30 ++++++++++++++++++++++--------
 1 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java
index 80c96b4..9c14242 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java
@@ -9,22 +9,36 @@
 
 public interface SwiperBannerService {
 
-	public int deleteByPrimaryKey(Long id) throws SwiperBannerException;
+	public int deleteByPrimaryKey(Long id) ;
 
-	public int insert(SwiperBanner record) throws SwiperBannerException;
+	public int insert(SwiperBanner record);
 
-	public int insertSelective(SwiperBanner record) throws SwiperBannerException;
+	public int insertSelective(SwiperBanner record);
 
-	public SwiperBanner selectByPrimaryKey(Long id) throws SwiperBannerException;
+	public SwiperBanner selectByPrimaryKey(Long id);
 
-	public int updateByPrimaryKeySelective(SwiperBanner record) throws SwiperBannerException;
+	public int updateByPrimaryKeySelective(SwiperBanner record);
 
-	public int updateByPrimaryKey(SwiperBanner record) throws SwiperBannerException;
+	public int updateByPrimaryKey(SwiperBanner record);
 	
-	public List<SwiperBanner> query(long start, int count, String key, Integer sort) throws SwiperBannerException;
+	public List<SwiperBanner> query(long start, int count, String key, Integer sort);
 	
-	public long countQuery(String key) throws SwiperBannerException;
+	public long countQuery(String key);
 	
 	public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
+
+	/**
+	 * 鏈夋晥
+	 * @return
+	 * @throws SwiperBannerException
+	 */
+	public List<SwiperBanner> getEffectiveOption();
+
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws SwiperBannerException
+	 */
+	public void switchState(Long id) throws SwiperBannerException;
 	
 }

--
Gitblit v1.8.0