From 8fbbf4ebaa2138eab218c197d51f2a0de1aff7cf Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 20 Dec 2021 14:10:54 +0800
Subject: [PATCH] 20211216
---
src/main/resources/mapper/modules/VideoCollectionMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/modules/VideoCollectionMapper.xml b/src/main/resources/mapper/modules/VideoCollectionMapper.xml
index 2b2d77e..10b00a2 100644
--- a/src/main/resources/mapper/modules/VideoCollectionMapper.xml
+++ b/src/main/resources/mapper/modules/VideoCollectionMapper.xml
@@ -21,6 +21,7 @@
<select id="selectApiMyVideoHistoryInPage" resultType="cc.mrbird.febs.video.vo.ApiMyVideoHistoryVo">
select
a.video_id id,
+ a.created_time createdTime,
b.title title,
b.intro intro,
b.thumb thumb,
@@ -38,4 +39,14 @@
order by a.created_time desc
</select>
+
+
+ <select id="selectVideoCollectionByVideoIdAndMemberId" resultType="cc.mrbird.febs.video.entity.VideoCollectionEntity">
+ select
+ a.*
+ from video_collection a
+ where a.member_id = #{memberId}
+ and a.video_id = #{videoId}
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1