新增App资讯相关接口

This commit is contained in:
kerwincui
2022-04-14 20:32:28 +08:00
parent 6b759faeb9
commit 81f1ca8a23
11 changed files with 167 additions and 7 deletions

View File

@@ -66,4 +66,12 @@ public interface NewsCategoryMapper
* @return 结果
*/
public int deleteNewsCategoryByCategoryIds(Long[] categoryIds);
/**
* 分类下的新闻数量
*
* @param categoryIds 需要删除的数据主键集合
* @return 结果
*/
public int newsCountInCategorys(Long[] categoryIds);
}

View File

@@ -27,6 +27,13 @@ public interface NewsMapper
*/
public List<News> selectNewsList(News news);
/**
* 查询置顶新闻资讯列表
*
* @return 新闻资讯集合
*/
public List<News> selectTopNewsList();
/**
* 新增新闻资讯
*