Commit 8c8c55dd authored by 罗林杰's avatar 罗林杰

修改驳回原因

parent 7db707d8
......@@ -285,6 +285,10 @@ public class OpmArticleServiceImpl extends ServiceImpl<OpmArticleRepository, Opm
List<ArticleCommentVO> comment = baseMapper.selectArticleCommentCount(article);
//修改动态
article.setCommentCount(comment.size());//修改评论数
//驳回原因
if (opmArticle.getRemarks()!= null){
article.setRemarks(opmArticle.getRemarks());
}
int line = baseMapper.updateById(article);
//修改动态所有评论审核状态
//修改子表的评论数 给父级评论数+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