소스 검색

release of '素材大盘' on 2021.3.19

jiequan.bi 4 년 전
부모
커밋
b62cd30ef0
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/mapper/xml/MaterialReportOverViewMapper.xml

+ 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">