Ver Fonte

修改查询逻辑

songyh há 4 anos atrás
pai
commit
a48236dc1c

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

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