From ba524bc13846fcbedb231b4bebc9a1a0927c5f70 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期五, 30 五月 2025 15:44:15 +0800 Subject: [PATCH] 活动用户登录id可用后整理 --- framework/src/main/java/cn/lili/modules/lmk/mapper/VideoMapper.java | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 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 33a8bd5..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 @@ -1,6 +1,8 @@ package cn.lili.modules.lmk.mapper; 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; @@ -24,11 +26,39 @@ * @param id * @return */ - VideoVO getById(Integer id); + VideoVO getById(String id); /** * 鍒嗛〉 */ IPage getPage(IPage page, @Param("query") VideoQuery query); + /** + * 绠$悊绔垎椤� + * + * @param page + * @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