コード例 #1
0
 @Override
 public ArticleWithContent getLastArticle(String currentBlogId, String type) {
   return entityMapper.getNextArticle(currentBlogId, type);
 }
コード例 #2
0
 @Override
 public void saveArticle(ArticleWithContent articleWithContent) {
   entityMapper.insert(articleWithContent);
 }
コード例 #3
0
 public List<ArticleWithContent> getRecentTwoArticle(String username) {
   return entityMapper.getRecentTwoArticle(username);
 }
コード例 #4
0
 @Override
 public ArticleWithContent getLastArticle(String username) {
   return entityMapper.getLastArtile(username);
 }