From 13faa6b31d14566d7505b4feb8b5742cc681fcf6 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期三, 23 七月 2025 17:55:13 +0800
Subject: [PATCH] 后台发布视频
---
framework/src/main/resources/mapper/lmk/MyCollectMapper.xml | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml b/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml
index f1ff446..9f89ba6 100644
--- a/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml
+++ b/framework/src/main/resources/mapper/lmk/MyCollectMapper.xml
@@ -90,8 +90,8 @@
LA.*
FROM lmk_my_collect LMC
LEFT JOIN lmk_activity LA
- ON LMC.ref_id = LA.id
- WHERE LMC.collect_type = 'activity' and LMC.user_id = #{userId}
+ ON LMC.ref_id = LA.id AND LMC.delete_flag = 0
+ WHERE LMC.collect_type = 'activity' and LMC.user_id = #{userId} AND LA.id IS NOT NULL
</select>
<resultMap id="videoBaseResult" type="cn.lili.modules.lmk.domain.vo.VideoVO">
<id column="id" property="id"/>
@@ -101,10 +101,7 @@
<result column="video_file_key" property="videoFileKey" />
<result column="video_fit" property="videoFit" />
<result column="title" property="title" />
- <result column="goods_id" property="goodsId" />
- <result column="goods_view_num" property="goodsViewNum" />
<result column="video_duration" property="videoDuration" />
- <result column="goods_order_num" property="goodsOrderNum" />
<result column="recommend" property="recommend" />
<result column="status" property="status" />
<result column="play_num" property="playNum" />
--
Gitblit v1.8.0