From 8ce7c720e4e7a604b0ff770349b5556f39d37759 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 13 九月 2021 11:44:38 +0800
Subject: [PATCH] 好省呗应用兼容

---
 fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java |   75 ++++++++++++++++++++++---------------
 1 files changed, 45 insertions(+), 30 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..9fc724e 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
@@ -1,30 +1,45 @@
-package com.yeshi.fanli.service.inter.homemodule;
-
-
-
-import java.util.List;
-
-import com.yeshi.fanli.entity.bus.homemodule.SwiperBanner;
-import com.yeshi.fanli.exception.banner.SwiperBannerException;
-
-public interface SwiperBannerService {
-
-	public int deleteByPrimaryKey(Long id) throws SwiperBannerException;
-
-	public int insert(SwiperBanner record) throws SwiperBannerException;
-
-	public int insertSelective(SwiperBanner record) throws SwiperBannerException;
-
-	public SwiperBanner selectByPrimaryKey(Long id) throws SwiperBannerException;
-
-	public int updateByPrimaryKeySelective(SwiperBanner record) throws SwiperBannerException;
-
-	public int updateByPrimaryKey(SwiperBanner record) throws SwiperBannerException;
-	
-	public List<SwiperBanner> query(long start, int count, String key, Integer sort) throws SwiperBannerException;
-	
-	public long countQuery(String key) throws SwiperBannerException;
-	
-	public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
-	
-}
+package com.yeshi.fanli.service.inter.homemodule;
+
+
+
+import java.util.List;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import com.yeshi.fanli.entity.bus.homemodule.SwiperBanner;
+import com.yeshi.fanli.exception.banner.SwiperBannerException;
+
+public interface SwiperBannerService {
+
+	public int deleteByPrimaryKey(Long id) ;
+
+	public int insert(SwiperBanner record);
+
+	public int insertSelective(SwiperBanner record);
+
+	public SwiperBanner selectByPrimaryKey(Long id);
+
+	public int updateByPrimaryKeySelective(SwiperBanner record);
+
+	public int updateByPrimaryKey(SwiperBanner record);
+	
+	public List<SwiperBanner> query(long start, int count, String key, Integer sort, SystemEnum system);
+	
+	public long countQuery(String key, SystemEnum system);
+	
+	public int deleteBatchByPrimaryKey(List<Long> list) throws Exception;
+
+	/**
+	 * 鏈夋晥
+	 * @return
+	 * @throws SwiperBannerException
+	 */
+	public List<SwiperBanner> getEffectiveOption(SystemEnum system);
+
+	/**
+	 * 鐘舵�佸垏鎹�
+	 * @param id
+	 * @throws SwiperBannerException
+	 */
+	public void switchState(Long id) throws SwiperBannerException;
+	
+}

--
Gitblit v1.8.0