Service层修改 单元测试
This commit is contained in:
@@ -37,8 +37,14 @@ public interface ArticleMapper {
|
||||
|
||||
List<Article> findAllByCategoryId(long id);
|
||||
|
||||
List<Article> findAllByCategoryIdAndOpen(long id);
|
||||
|
||||
List<Article> findAll();
|
||||
|
||||
Article getPreArticle(Long id);
|
||||
|
||||
Article getNextArticle(Long id);
|
||||
|
||||
int updateReadingNumber(long id);
|
||||
|
||||
long count();
|
||||
|
||||
@@ -28,4 +28,8 @@ public interface ArticleTagMapper {
|
||||
List<ArticleTag> findAllByArticleId(Long articleId);
|
||||
|
||||
int deleteMultiById(List<ArticleTag> articleTags);
|
||||
|
||||
List<ArticleTag> findArticleByTag(Long tagId);
|
||||
|
||||
List<ArticleTag> findArticleByTagAndOpen(Long tagId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user