From 817c7de04cb6b74164a42ed0e6050ae5b91b0ef1 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 29 五月 2025 18:14:00 +0800
Subject: [PATCH] 视频评论增加被回复人头像字段
---
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