From ac0bc5b39477de418b3c43eb40928310effa6114 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 22 Dec 2021 14:14:47 +0800
Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/xc-video

---
 src/main/resources/mapper/modules/VideoCollectionMapper.xml |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/modules/VideoCollectionMapper.xml b/src/main/resources/mapper/modules/VideoCollectionMapper.xml
index fd60577..2eb7e09 100644
--- a/src/main/resources/mapper/modules/VideoCollectionMapper.xml
+++ b/src/main/resources/mapper/modules/VideoCollectionMapper.xml
@@ -20,8 +20,9 @@
 
     <select id="selectApiMyVideoHistoryInPage" resultType="cc.mrbird.febs.video.vo.ApiMyVideoHistoryVo">
         select
-        a.video_id id,
-        a.created_time createdTime,
+        a.id id,
+        a.video_id videoId,
+        a.updated_time updatedTime,
         b.title title,
         b.intro intro,
         b.thumb thumb,
@@ -39,4 +40,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