2
2

2 Commits e1abd5c87c ... 915724a168

Autor SHA1 Mensagem Data
  jiequan.bi 915724a168 Merge remote-tracking branch 'origin/V1.1.6' into V1.1.6 há 4 anos atrás
  jiequan.bi b62cd30ef0 release of '素材大盘' on 2021.3.19 há 4 anos atrás

+ 7 - 7
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/mapper/xml/MaterialReportOverViewMapper.xml

@@ -479,8 +479,8 @@
     </select>
 
     <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.material_name                                                                       as materialName,
                t2.`second`,
@@ -489,7 +489,7 @@
                t.create_time                                                                         as createTime,
                t2.size,
                t1.channel_name                                                                       as channelType,
-               t.`code`,
+               t1.`video_code` as 'code',
                ''                                                                                    as materialType,
                t2.height,
                t2.width,
@@ -498,11 +498,11 @@
                IFNULL(t1.clip_name, '')                                                                 clipName,
                IFNULL(t1.shot_name, '')                                                                 shotName,
                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
-        where t.code = #{md5}
-        GROUP BY t.code
+        where t1.video_code = #{md5}
+        GROUP BY t1.video_code
     </select>
 
     <select id="queryBytedanceVideoChat" resultType="com.alibaba.fastjson.JSONObject">