| | |
| | | |
| | | import com.yeshi.buwan.domain.recommend.HomeRecommendSpecial; |
| | | import com.yeshi.buwan.domain.recommend.SuperHomeRecommendSpecial; |
| | | import com.yeshi.buwan.dto.recommend.HomeRecommendSpecialDTO; |
| | | import com.yeshi.buwan.exception.ParamsException; |
| | | |
| | | import javax.validation.Valid; |
| | | import java.util.List; |
| | | |
| | | public interface HomeRecommendSpecialService { |
| | | |
| | | |
| | | /** |
| | | * 列表 |
| | | * |
| | | * @param systemId |
| | | * @param detailSystemId |
| | | * @param key |
| | | * @return |
| | | */ |
| | | public List<HomeRecommendSpecialDTO> list(String systemId, String detailSystemId, String key, int page, int pageSize); |
| | | |
| | | public long count(String systemId, String detailSystemId, String key); |
| | | |
| | | |
| | | /** |
| | | * 添加专题 |
| | |
| | | public void updateSpecial(HomeRecommendSpecial special) throws Exception; |
| | | |
| | | /** |
| | | * 获取专题 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public HomeRecommendSpecial getSpecial(String id); |
| | | |
| | | |
| | | /** |
| | | * 根据专题关键词拉取专题 |
| | | * @param dataKey |
| | | * @return |
| | | */ |
| | | public HomeRecommendSpecial getSpecialByDataKey(String dataKey); |
| | | |
| | | /** |
| | | * 根据系统ID检索 |
| | | * |
| | | * @param systemId |
| | | * @return |
| | | */ |
| | | public List<HomeRecommendSpecial> listSpecialBySystemId(String systemId); |
| | | public List<HomeRecommendSpecial> listSpecialBySystemId(String systemId, String key, int page, int pageSize); |
| | | |
| | | |
| | | public long countSpecialBySystemId(String systemId, String key); |
| | | |
| | | /** |
| | | * 根据子系统ID检索 |
| | |
| | | * @param detailSystemId |
| | | * @return |
| | | */ |
| | | public List<HomeRecommendSpecial> listSpecialByDetailSystemId(String detailSystemId); |
| | | public List<HomeRecommendSpecial> listSpecialByDetailSystemId(String detailSystemId, String key, int page, int pageSize); |
| | | |
| | | public long countSpecialByDetailSystemId(String detailSystemId, String key); |
| | | |
| | | |
| | | /** |