Helius
2021-12-22 ac0bc5b39477de418b3c43eb40928310effa6114
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>