@ -45,6 +45,8 @@ public class QuestionAnswerCommentServiceImpl extends ServiceImpl<QuestionAnswer
req.getQuestionId());
if (ObjectUtil.isEmpty(entity)) {
entity = req.toEntity();
} else {
entity.setContent(req.getContent());
}
return this.saveOrUpdate(entity);