songyh 4 роки тому
батько
коміт
8857e2c428

+ 3 - 1
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/report/mapper/xml/BytedanceVideoReportMapper.xml

@@ -5,7 +5,9 @@
     <select id="queryVideoReportBy" resultType="com.alibaba.fastjson.JSONObject">
         SELECT
         t1.md5 signature,
-        IFNULL(t1.toutiao_url, '') AS url,
+        (case when t1.toutiao_url is not nul then t1.toutiao_url
+            when t1.url is not null then t1.url
+            else ''  end ) AS url,
         t1.cover_url AS converUrl,
         t1.clip_name AS clip,
         t1.shot_name AS shot,