@Override public ArticleWithContent getLastArticle(String currentBlogId, String type) { return entityMapper.getNextArticle(currentBlogId, type); }
@Override public void saveArticle(ArticleWithContent articleWithContent) { entityMapper.insert(articleWithContent); }
public List<ArticleWithContent> getRecentTwoArticle(String username) { return entityMapper.getRecentTwoArticle(username); }
@Override public ArticleWithContent getLastArticle(String username) { return entityMapper.getLastArtile(username); }