|
|
@@ -280,7 +280,7 @@
|
|
|
<result column="favorite" property="favorite"/>
|
|
|
<result column="share" property="share"/>
|
|
|
<result column="comment" property="comment"/>
|
|
|
- <collection column="tag_name" property="tags" ofType="java.lang.String" select="findVideoTags"/>
|
|
|
+ <!--<collection column="tag_name" property="tags" ofType="java.lang.String" select="findVideoTags"/>-->
|
|
|
</resultMap>
|
|
|
<select id="findVideoPostDetail" resultMap="videoDetail">
|
|
|
select post.publish_by,post.video_id,post.title,post.description,post.cover_url,post.duration,post.publish_at,post.scope,post.status,
|
|
|
@@ -310,9 +310,9 @@
|
|
|
</select>
|
|
|
<select id="findVideoTags" resultType="java.lang.String">
|
|
|
select tag_name
|
|
|
- from video_tags
|
|
|
- inner join video_tag
|
|
|
- on video_tag.tag_id=video_tags.tag_id and video_tags.video_id=#{videoId}
|
|
|
+ from vod_post_tag
|
|
|
+ inner join vod_video_tag
|
|
|
+ on vod_post_tag.tag_id=vod_video_tag.tag_id and vod_video_tag.video_id=#{videoId}
|
|
|
</select>
|
|
|
<select id="findByNextVideos" resultMap="videoPostCard">
|
|
|
select post.id,post.video_id,post.title,post.cover_url,post.duration,post.horizontal,post.publish_at,post.publish_by,post.status,
|