Commit 05c00387 authored by liwei's avatar liwei

Merge remote-tracking branch 'origin/master'

parents 4c6e9f72 8c8c55dd
...@@ -285,6 +285,10 @@ public class OpmArticleServiceImpl extends ServiceImpl<OpmArticleRepository, Opm ...@@ -285,6 +285,10 @@ public class OpmArticleServiceImpl extends ServiceImpl<OpmArticleRepository, Opm
List<ArticleCommentVO> comment = baseMapper.selectArticleCommentCount(article); List<ArticleCommentVO> comment = baseMapper.selectArticleCommentCount(article);
//修改动态 //修改动态
article.setCommentCount(comment.size());//修改评论数 article.setCommentCount(comment.size());//修改评论数
//驳回原因
if (opmArticle.getRemarks()!= null){
article.setRemarks(opmArticle.getRemarks());
}
int line = baseMapper.updateById(article); int line = baseMapper.updateById(article);
//修改动态所有评论审核状态 //修改动态所有评论审核状态
//修改子表的评论数 给父级评论数+1 //修改子表的评论数 给父级评论数+1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment