xiaoyong931011
2021-12-17 a06aa3c488bf5b45146e0969a5b2c21d0af847e8
src/main/resources/mapper/video/VideoMasterItemsMapper.xml
@@ -43,4 +43,14 @@
<!--            )-->
<!--        </foreach>-->
<!--    </insert>-->
    <select id="selectItemByVideoIdAndItemId" resultType="cc.mrbird.febs.video.entity.VideoMasterItemsEntity">
        select * from video_master_items
        where master_id=#{videoId}
        <if test="itemId != null">
            and id = #{itemId}
        </if>
        order by seq asc
        limit 1
    </select>
</mapper>