From 6070ccbdfdd222094e60abb89194ff0944212c74 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 21 Dec 2021 11:41:01 +0800 Subject: [PATCH] 20211216 --- src/main/resources/mapper/modules/VideoCollectionMapper.xml | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/VideoCollectionMapper.xml b/src/main/resources/mapper/modules/VideoCollectionMapper.xml index 2b2d77e..bf89c70 100644 --- a/src/main/resources/mapper/modules/VideoCollectionMapper.xml +++ b/src/main/resources/mapper/modules/VideoCollectionMapper.xml @@ -20,7 +20,8 @@ <select id="selectApiMyVideoHistoryInPage" resultType="cc.mrbird.febs.video.vo.ApiMyVideoHistoryVo"> select - a.video_id id, + a.id id, + a.updated_time updatedTime, 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