From e1350e5565e0119d63e95069d6b0ee135795426d Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 26 五月 2025 18:13:02 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev
---
framework/src/main/resources/mapper/lmk/VideoMapper.xml | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/framework/src/main/resources/mapper/lmk/VideoMapper.xml b/framework/src/main/resources/mapper/lmk/VideoMapper.xml
index 6259ce8..12e953f 100644
--- a/framework/src/main/resources/mapper/lmk/VideoMapper.xml
+++ b/framework/src/main/resources/mapper/lmk/VideoMapper.xml
@@ -13,6 +13,7 @@
<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" />
@@ -44,6 +45,7 @@
LV.author_id,
LV.cover_url,
LV.video_fit,
+ LV.video_duration,
LV.video_file_key,
LV.title,
LV.goods_id,
@@ -72,6 +74,7 @@
LV.author_id,
LV.cover_url,
LV.video_fit,
+ LV.video_duration,
LV.video_file_key,
LV.title,
LV.goods_id,
@@ -80,13 +83,13 @@
LV.recommend,
LV.status,
LV.play_num,
+ LV.collect_num,
LV.comment_num,
LV.weight,
LV.audit_pass_time,
LV.update_time,
LV.id,
- LM.nick_name as authorName,
- (SELECT COUNT(*) FROM lmk_my_collect WHERE ref_id = LV.id AND collect_type = 'video' AND delete_flag = 0) as collect_num
+ LM.nick_name as authorName
FROM
lmk_video LV
LEFT JOIN li_member LM ON LV.author_id = LM.id
@@ -100,6 +103,7 @@
LV.author_id,
LV.cover_url,
LV.video_fit,
+ LV.video_duration,
LV.video_file_key,
LV.title,
LV.goods_id,
@@ -108,13 +112,13 @@
LV.recommend,
LV.status,
LV.play_num,
+ LV.collect_num,
LV.comment_num,
LV.weight,
LV.audit_pass_time,
LV.update_time,
LV.id,
- LM.nick_name as authorName,
- (SELECT COUNT(*) FROM lmk_my_collect WHERE ref_id = LV.id AND collect_type = 'video' AND delete_flag = 0) as collect_num
+ LM.nick_name as authorName
FROM
lmk_video LV
LEFT JOIN li_member LM ON LV.author_id = LM.id
@@ -139,6 +143,7 @@
LV.author_id,
LV.cover_url,
LV.video_fit,
+ LV.video_duration,
LV.video_file_key,
LV.title,
LV.goods_id,
@@ -148,13 +153,13 @@
LV.status,
LV.play_num,
LV.comment_num,
+ LV.collect_num,
LV.weight,
LV.audit_pass_time,
LV.update_time,
LV.id,
LM.nick_name as authorName,
- LM.face as authorAvatar,
- (SELECT COUNT(*) FROM lmk_my_collect WHERE ref_id = LV.id AND collect_type = 'video' AND delete_flag = 0) as collect_num
+ LM.face as authorAvatar
FROM
lmk_video LV
LEFT JOIN li_member LM ON LV.author_id = LM.id
--
Gitblit v1.8.0