From ab07698444f013b099901a7bb1112f990a833ccc Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 17 Dec 2021 15:23:58 +0800 Subject: [PATCH] 20211216 --- src/main/resources/mapper/modules/VideoCollectionMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/VideoCollectionMapper.xml b/src/main/resources/mapper/modules/VideoCollectionMapper.xml index fd60577..10b00a2 100644 --- a/src/main/resources/mapper/modules/VideoCollectionMapper.xml +++ b/src/main/resources/mapper/modules/VideoCollectionMapper.xml @@ -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