From 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 09 五月 2020 21:41:27 +0800 Subject: [PATCH] 2.1需求 --- 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