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/resources/mapper/lmk/MyCollectMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml b/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml
index b3f1a43..3f06bcb 100644
--- a/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml
+++ b/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml
@@ -54,4 +54,16 @@
           AND ref_id IN <foreach collection="videoIds" open="(" item="videoId" close=")" separator=",">#{videoId}</foreach>
     </select>
 
+    <select id="countNumGroupByType" parameterType="string" resultType="cn.lili.modules.lmk.domain.vo.CollectTypeNumVO">
+        SELECT
+               ref_id as id,
+               count(id) as countNum
+        FROM
+             lmk_my_collect
+        WHERE
+              collect_type = #{type} AND delete_flag = 0
+        GROUP BY
+            ref_id
+    </select>
+
 </mapper>

--
Gitblit v1.8.0