From 8c953cd34ed3f96710f685aa667613fdb70e354f Mon Sep 17 00:00:00 2001 From: pkratnch4 <3266720861@qq.com> Date: Sun, 23 Apr 2023 17:52:00 +0800 Subject: [PATCH] ADD file via upload --- CommentDao.xml | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 CommentDao.xml 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}); + + + + + + + +