From 9c6c57d3a81571e10a6a46446e18175067f4a8df Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 14 八月 2025 14:49:54 +0800 Subject: [PATCH] 视频评论删除 --- framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml b/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml index 672c021..eb8528b 100644 --- a/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml +++ b/framework/src/main/resources/mapper/lmk/VideoCommentMapper.xml @@ -49,6 +49,38 @@ LVC.id = #{id} AND LVC.delete_flag = 0 </select> + <select id="getManagerPage" resultMap="BaseResultMap"> + SELECT + LVC.video_id, + LVC.comment_content, + LVC.reply_id, + LVC.reply_user_id, + LVC.reply_user_nickname, + LVC.master_comment_id, + LVC.status, + LVC.thumbs_up_num, + LVC.id, + LVC.user_id, + LVC.user_nickname, + LVC.user_avatar, + LVC.create_time + FROM + lmk_video_comment LVC + WHERE + LVC.video_id = #{query.videoId} AND LVC.delete_flag = 0 + <if test="query.commentContent != null and query.commentContent !=''"> + AND LVC.comment_content like concat('%',#{query.commentContent},'%') + </if> + <if test="query.nickName != null and query.nickName !=''"> + AND LVC.user_nickname like concat('%',#{query.nickName},'%') + </if> + <if test="query.startTime != null"> + AND LVC.create_time >= #{query.startTime} + </if> + <if test="query.endTime != null"> + AND LVC.create_time <= #{query.endTime} + </if> + </select> <select id="getPage" resultMap="BaseResultMap"> SELECT -- Gitblit v1.8.0