diff --git a/CommentDao.xml b/CommentDao.xml new file mode 100644 index 0000000..22f9f32 --- /dev/null +++ b/CommentDao.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + delete from comment where id=#{id} + + + + + + + insert into comment (username,email,content,avatar, + create_time,forum_id,parent_comment_id, usercomment) + values (#{username},#{email},#{content},#{avatar}, + #{createTime},#{forumId},#{parentCommentId}, #{userComment}); + + + + + + + +