| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | |
| | | public interface SwiperBannerMapper extends BaseMapper<SwiperBanner>{ |
| | | |
| | | List<SwiperBanner> query(@Param("start") long start, @Param("count") int count, @Param("key") String key, |
| | | @Param("sort") Integer sort); |
| | | @Param("sort") Integer sort, @Param("system") SystemEnum system); |
| | | |
| | | long countQuery(@Param("key") String key); |
| | | long countQuery(@Param("key") String key, @Param("system") SystemEnum system); |
| | | |
| | | int deleteBatchByPrimaryKey(List<Long> list); |
| | | |
| | |
| | | * 查询有效专题 |
| | | * @return |
| | | */ |
| | | List<SwiperBanner> getEffectiveOption(); |
| | | List<SwiperBanner> getEffectiveOption( @Param("system") SystemEnum system); |
| | | |
| | | } |