| | |
| | |
|
| | | 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 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();
|
| | | public List<SwiperBanner> getEffectiveOption(SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 状态切换
|
| | | * @param id
|
| | | * @throws SwiperBannerException
|
| | | */
|
| | | public void switchState(Long id) throws SwiperBannerException;
|
| | |
|
| | | }
|