diff --git a/src/main/java/com/rymcu/forest/dto/CommentDTO.java b/src/main/java/com/rymcu/forest/dto/CommentDTO.java index cb5826b..8920b41 100644 --- a/src/main/java/com/rymcu/forest/dto/CommentDTO.java +++ b/src/main/java/com/rymcu/forest/dto/CommentDTO.java @@ -42,4 +42,6 @@ public class CommentDTO { private Author commenter; private String timeAgo; + + private String articleTitle; } diff --git a/src/main/java/mapper/CommentMapper.xml b/src/main/java/mapper/CommentMapper.xml index d49ce61..5d73f0f 100644 --- a/src/main/java/mapper/CommentMapper.xml +++ b/src/main/java/mapper/CommentMapper.xml @@ -28,6 +28,7 @@ + @@ -39,7 +40,7 @@ update forest_comment set comment_sharp_url = #{commentSharpUrl} where id = #{idComment} \ No newline at end of file