mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 09:25:54 +08:00
新增App资讯相关接口
This commit is contained in:
@@ -66,4 +66,12 @@ public interface NewsCategoryMapper
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteNewsCategoryByCategoryIds(Long[] categoryIds);
|
||||
|
||||
/**
|
||||
* 分类下的新闻数量
|
||||
*
|
||||
* @param categoryIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int newsCountInCategorys(Long[] categoryIds);
|
||||
}
|
||||
|
||||
@@ -27,6 +27,13 @@ public interface NewsMapper
|
||||
*/
|
||||
public List<News> selectNewsList(News news);
|
||||
|
||||
/**
|
||||
* 查询置顶新闻资讯列表
|
||||
*
|
||||
* @return 新闻资讯集合
|
||||
*/
|
||||
public List<News> selectTopNewsList();
|
||||
|
||||
/**
|
||||
* 新增新闻资讯
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user