修改查询语句
This commit is contained in:
@@ -21,10 +21,13 @@ public interface ArticleMapper {
|
||||
|
||||
int update(Article a);
|
||||
|
||||
@Deprecated
|
||||
int updateNextArticleId(long targetArticleID, long nextArticleID);
|
||||
|
||||
@Deprecated
|
||||
int updatePreArticleId(long targetArticleID, long preArticleID);
|
||||
|
||||
@Deprecated
|
||||
long getLastestArticleId();
|
||||
|
||||
Article getLastestArticle();
|
||||
@@ -33,7 +36,7 @@ public interface ArticleMapper {
|
||||
|
||||
boolean existsByTitle(String title);
|
||||
|
||||
boolean existsById(long id);
|
||||
boolean isDeletedById(long id);
|
||||
|
||||
List<Article> findAllByAuthorId(long authorID);
|
||||
|
||||
@@ -51,8 +54,11 @@ public interface ArticleMapper {
|
||||
|
||||
List<Article> getSimpleInfoByTag(List<String> idList);
|
||||
|
||||
@Deprecated
|
||||
int setReadingNumber(long number, long id);
|
||||
|
||||
int updateReadingNumber(long id);
|
||||
|
||||
long count();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user