From 23de473eca0e0fc862706b0e19a9185bbe6517fa Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 21 Dec 2021 10:54:45 +0800
Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/xc-video
---
src/main/resources/mapper/modules/VideoCollectionMapper.xml | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/modules/VideoCollectionMapper.xml b/src/main/resources/mapper/modules/VideoCollectionMapper.xml
index fd60577..2beb52e 100644
--- a/src/main/resources/mapper/modules/VideoCollectionMapper.xml
+++ b/src/main/resources/mapper/modules/VideoCollectionMapper.xml
@@ -21,7 +21,7 @@
<select id="selectApiMyVideoHistoryInPage" resultType="cc.mrbird.febs.video.vo.ApiMyVideoHistoryVo">
select
a.video_id id,
- a.created_time createdTime,
+ a.updated_time updatedTime,
b.title title,
b.intro intro,
b.thumb thumb,
@@ -39,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