|
@@ -479,8 +479,8 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="queryKuaishouVideoDetail" resultType="com.alibaba.fastjson.JSONObject">
|
|
<select id="queryKuaishouVideoDetail" resultType="com.alibaba.fastjson.JSONObject">
|
|
- SELECT t.url,
|
|
|
|
- t.cover_url as coverUrl,
|
|
|
|
|
|
+ SELECT t1.url,
|
|
|
|
+ t1.cover_url as coverUrl,
|
|
t.id as materialId,
|
|
t.id as materialId,
|
|
t.material_name as materialName,
|
|
t.material_name as materialName,
|
|
t2.`second`,
|
|
t2.`second`,
|
|
@@ -489,7 +489,7 @@
|
|
t.create_time as createTime,
|
|
t.create_time as createTime,
|
|
t2.size,
|
|
t2.size,
|
|
t1.channel_name as channelType,
|
|
t1.channel_name as channelType,
|
|
- t.`code`,
|
|
|
|
|
|
+ t1.`video_code` as 'code',
|
|
'' as materialType,
|
|
'' as materialType,
|
|
t2.height,
|
|
t2.height,
|
|
t2.width,
|
|
t2.width,
|
|
@@ -498,11 +498,11 @@
|
|
IFNULL(t1.clip_name, '') clipName,
|
|
IFNULL(t1.clip_name, '') clipName,
|
|
IFNULL(t1.shot_name, '') shotName,
|
|
IFNULL(t1.shot_name, '') shotName,
|
|
IFNULL(t1.plan_name, '') planName
|
|
IFNULL(t1.plan_name, '') planName
|
|
- FROM ctop_material_info t
|
|
|
|
- LEFT JOIN ctop_etl_kuaishou_video_info t1 ON t.`code` = t1.video_code
|
|
|
|
|
|
+ FROM ctop_etl_kuaishou_video_info t1
|
|
|
|
+ LEFT JOIN ctop_material_info t ON t.`code` = t1.video_code
|
|
LEFT JOIN ctop_material_parameter t2 on t.`code` = t2.material_id
|
|
LEFT JOIN ctop_material_parameter t2 on t.`code` = t2.material_id
|
|
- where t.code = #{md5}
|
|
|
|
- GROUP BY t.code
|
|
|
|
|
|
+ where t1.video_code = #{md5}
|
|
|
|
+ GROUP BY t1.video_code
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="queryBytedanceVideoChat" resultType="com.alibaba.fastjson.JSONObject">
|
|
<select id="queryBytedanceVideoChat" resultType="com.alibaba.fastjson.JSONObject">
|