|
@@ -152,7 +152,7 @@ public interface FsUserVideoMapper
|
|
|
@Select({"<script> " +
|
|
@Select({"<script> " +
|
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
|
- "v.create_time,v.views as playNumber,v.product_id,v.product_json,p.img_url,p.package_name,v.shares from fs_user_video_favorite f " +
|
|
|
|
|
|
|
+ "v.create_time,v.views as playNumber,v.product_id,v.product_json,p.img_url,p.package_name,v.shares,v.add_num from fs_user_video_favorite f " +
|
|
|
"left join fs_user_video v on v.video_id = f.video_id " +
|
|
"left join fs_user_video v on v.video_id = f.video_id " +
|
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
@@ -165,7 +165,7 @@ public interface FsUserVideoMapper
|
|
|
@Select({"<script> " +
|
|
@Select({"<script> " +
|
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
|
- "v.create_time,v.views as playNumber,v.product_id,v.product_json,p.img_url,p.package_name,v.shares from fs_user_video_like l " +
|
|
|
|
|
|
|
+ "v.create_time,v.views as playNumber,v.product_id,v.product_json,p.img_url,p.package_name,v.shares,v.add_num from fs_user_video_like l " +
|
|
|
"left join fs_user_video v on v.video_id = l.video_id " +
|
|
"left join fs_user_video v on v.video_id = l.video_id " +
|
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
@@ -178,7 +178,7 @@ public interface FsUserVideoMapper
|
|
|
@Select({"<script> " +
|
|
@Select({"<script> " +
|
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
|
- "v.create_time,v.views as playNumber,v.product_id,v.product_json,p.img_url,p.package_name,v.shares from fs_user_video_comment c " +
|
|
|
|
|
|
|
+ "v.create_time,v.views as playNumber,v.product_id,v.product_json,p.img_url,p.package_name,v.shares,v.add_num from fs_user_video_comment c " +
|
|
|
"left join fs_user_video v on v.video_id = c.video_id " +
|
|
"left join fs_user_video v on v.video_id = c.video_id " +
|
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
@@ -207,7 +207,7 @@ public interface FsUserVideoMapper
|
|
|
@Select({"<script> " +
|
|
@Select({"<script> " +
|
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
"select v.video_id as id,v.talent_id as talentId,t.user_id as userId,v.title,v.description as msg,t.nick_name as username,t.avatar as headImg, " +
|
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
"v.thumbnail as cover,v.url as src,v.likes as likeNum,v.comments as smsNum,v.favorite_num," +
|
|
|
- "v.create_time,v.views as playNumber,v.product_id,p.img_url,p.package_name,v.upload_type,v.shares from fs_user_video v " +
|
|
|
|
|
|
|
+ "v.create_time,v.views as playNumber,v.product_id,p.img_url,p.package_name,v.upload_type,v.shares,v.add_num from fs_user_video v " +
|
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
"left join fs_user_talent t on t.talent_id = v.talent_id " +
|
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
" left join fs_package p on p.package_id = v.product_id " +
|
|
|
"where v.is_del = 0 and v.status = 1 and v.video_id = #{videoId} " +
|
|
"where v.is_del = 0 and v.status = 1 and v.video_id = #{videoId} " +
|