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/java/cn/lili/modules/lmk/mapper/VideoCommentMapper.java | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoCommentMapper.java b/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoCommentMapper.java index 81749f8..94bc442 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoCommentMapper.java +++ b/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoCommentMapper.java @@ -1,6 +1,8 @@ package cn.lili.modules.lmk.mapper; import cn.lili.modules.lmk.domain.entity.VideoComment; +import cn.lili.modules.lmk.domain.query.VideoCommentMangerQuery; +import cn.lili.modules.lmk.domain.vo.CollectTypeNumVO; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import cn.lili.modules.lmk.domain.vo.VideoCommentVO; @@ -26,6 +28,9 @@ */ VideoCommentVO getById(String id); + + IPage getManagerPage (IPage page, @Param("query") VideoCommentMangerQuery query); + /** * 鍒嗛〉 */ @@ -41,10 +46,23 @@ IPage masterCommentPage(IPage page, @Param("query") VideoCommentQuery query); /** - * 灏忕▼搴忓洖澶嶈瘎璁哄垎椤垫煡璇� + * 灏忕▼搴忓洖澶嶈瘎璁� * - * @param page * @param query */ IPage replyCommentPage(IPage page, @Param("query") VideoCommentQuery query); + + /** + * 缁熻姣忎釜瑙嗛鐨勮瘎璁烘暟閲� + * + * @return + */ + List<CollectTypeNumVO> countNumGroupByVideo(); + + /** + * 鎵归噺鏇存柊瑙嗛璇勮鐐硅禐鏁� + * + * @param chunk + */ + void updateCommentThumbsUpNumBatch(@Param("list") List<CollectTypeNumVO> chunk); } -- Gitblit v1.8.0