From dc5be7d38446f70e6ff86df311119c32b41fe7f8 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 28 十一月 2020 16:37:05 +0800 Subject: [PATCH] 大淘客搜索接口升级 --- fanli/src/main/java/com/yeshi/fanli/service/inter/homemodule/SwiperBannerService.java | 31 +++++++++++++++++++++++-------- 1 files changed, 23 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..c3e8ff3 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 @@ -4,27 +4,42 @@ 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) 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, SystemEnum system); - public long countQuery(String key) throws SwiperBannerException; + 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