From e0beab0edb7049fdf46aca17f32f9dc5f4a8a755 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 29 五月 2025 17:33:15 +0800 Subject: [PATCH] 视频评论数定时任务、视频评论查询 --- framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java b/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java index e49d338..28854b7 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java +++ b/framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java @@ -2,6 +2,7 @@ import cn.lili.modules.lmk.domain.entity.Video; import cn.lili.modules.lmk.domain.query.ManagerVideoQuery; +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.VideoVO; @@ -39,4 +40,25 @@ * @param query */ IPage managerPage(IPage page, @Param("query") ManagerVideoQuery query); + + /** + * 鏌ュ嚭5涓帹鑽愯棰� + * + * @return + */ + IPage recommendVideo(IPage page); + + /** + * 鎵归噺鏇存柊瑙嗛鏀惰棌鏁伴噺 + * + * @param numList + */ + void updateCollectNumBatch(@Param("list") List<CollectTypeNumVO> numList); + + /** + * 鎵归噺鏇存柊瑙嗛璇勮鏁伴噺 + * + * @param numList + */ + void updateCommentNumBatch(@Param("list") List<CollectTypeNumVO> numList); } -- Gitblit v1.8.0